Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 3 files). Show all
Unified · Split
| @@ -263,7 +263,7 @@ void SkeletonModel::renderJointConstraints(int jointIndex) { · 262 unmodified lines | ||
| 263 | 263 | do { |
| 264 | 264 | const FBXJoint& joint = geometry.joints.at(jointIndex); |
| 265 | 265 | const JointState& jointState = _jointStates.at(jointIndex); |
| 266 | − glm::vec3 position = _rotation * jointState.getPositionInModelFrame() + _translation; | |
| 266 | + glm::vec3 position = _rotation * jointState.getPosition() + _translation; | |
| 267 | 267 | |
| 268 | 268 | glPushMatrix(); |
| 269 | 269 | glTranslatef(position.x, position.y, position.z); |