History

More work on IK.

Andrzej Kapolka committed 12 years ago

Commit 511fc831 parent f7bc1ae2 files · +16 −13Browse files

Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 2 files). Show all

Unified · Split

interface/src/avatar/SkeletonModel.cpp+1−2
@@ -177,8 +177,7 @@ void SkeletonModel::applyPalmData(int jointIndex, const QVector<int>& fingerJoin · 176 unmodified lines
177 }177 }
178 178
179 // set hand position, rotation179 // 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
184void SkeletonModel::updateJointState(int index) {183void SkeletonModel::updateJointState(int index) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t