diff --git a/injector/src/main.cpp b/injector/src/main.cpp index b110f7553c..61327ec41b 100644 --- a/injector/src/main.cpp +++ b/injector/src/main.cpp @@ -91,7 +91,7 @@ bool processParameters(int parameterCount, char* parameterData[]) } } return true; -}; +};_Position int main(int argc, const char* argv[]) { diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index e2b8003a53..9770bcbce1 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -1006,11 +1006,14 @@ void Head::updateSkeleton() { _bone[b].position = _bone[ _bone[b].parent ].position; } - ///TEST! - get this working and then add a comment; JJV + //------------------------------------------------------------------------------------- + // if this is not my avatar, then hand position comes from transmitted data + //------------------------------------------------------------------------------------- if ( ! _isMine ) { _bone[ AVATAR_BONE_RIGHT_HAND ].position = _handPosition; } + // the following will be replaced by a proper rotation... float xx = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getRight() ); float yy = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getUp () ); float zz = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getFront() ); @@ -1024,7 +1027,6 @@ void Head::updateSkeleton() { } } - void Head::initializeBodySprings() { for (int b=0; b