fix warnings

This commit is contained in:
luiscuenca 2018-07-23 16:37:25 -07:00
parent 94bb8fc917
commit 8f547d9bdd

View file

@ -1500,8 +1500,6 @@ bool Rig::calculateElbowPoleVector(int handIndex, int elbowIndex, int armIndex,
} }
glm::vec3 armToHandDir = armToHand / armToHandDistance; glm::vec3 armToHandDir = armToHand / armToHandDistance;
glm::vec3 armToElbowDir = armToElbow / armToElbowDistance;
glm::vec3 armToHeadPlaneNormal = glm::cross(armToHead, armToHandDir); glm::vec3 armToHeadPlaneNormal = glm::cross(armToHead, armToHandDir);
// The strenght of the resulting pole determined by the arm flex. // The strenght of the resulting pole determined by the arm flex.