From 5443d80c6f4f5b4cb4b393866811c76d4e234463 Mon Sep 17 00:00:00 2001 From: Philip Rosedale Date: Thu, 18 Apr 2013 14:00:48 -0700 Subject: [PATCH] Removed negation of front vector which was reversing yaw in avatar skeleton. --- interface/src/Head.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index e68a957c2d..a18965a372 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -1026,7 +1026,7 @@ void Head::updateSkeleton() { 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 () ); + float zz = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getFront () ); glm::vec3 rotatedBoneVector( xx, yy, zz );