Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 2 files). Show all
Unified · Split
| @@ -177,8 +177,7 @@ void SkeletonModel::applyPalmData(int jointIndex, const QVector<int>& fingerJoin · 176 unmodified lines | |||
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | // set hand position, rotation | 179 | // set hand position, rotation |
| 180 | glm::vec3 forearmVector = palmRotation * glm::vec3(sign, 0.0f, 0.0f); | 180 | setJointPosition(jointIndex, palm.getPosition(), palmRotation, true); |
| 181 | setJointPosition(jointIndex, palm.getPosition(), palmRotation); | ||
| 182 | } | 181 | } |
| 183 | 182 | ||
| 184 | void SkeletonModel::updateJointState(int index) { | 183 | void SkeletonModel::updateJointState(int index) { |