fix typo that broke build and remove warning

This commit is contained in:
Andrew Meadows 2015-09-02 11:31:05 -07:00
parent a7d57d7c60
commit eb78b39bea

View file

@ -348,7 +348,7 @@ void SkeletonModel::renderOrientationDirections(gpu::Batch& batch, int jointInde
OrientationLineIDs& jointLineIDs = _jointOrientationLines[jointIndex];
glm::vec3 pRight = position + orientation * IDENTITY_RIGHT * size;
glm::vec3 pU = position + orientation * IDENTITY_UP * size;
glm::vec3 pUp = position + orientation * IDENTITY_UP * size;
glm::vec3 pFront = position + orientation * IDENTITY_FRONT * size;
glm::vec3 red(1.0f, 0.0f, 0.0f);
@ -523,7 +523,6 @@ void SkeletonModel::computeBoundingShape() {
freeLineage,
glm::mat4());
}
const JointState& movedState = _rig->getJointState(tipIndex);
break;
}
limbLength += limbJoint.getDistanceToParent();