History

getPositionInModelFrame -> getPosition

Andrew Meadows committed 12 years ago

Commit d8f5e101 parent 4a3fbfc3 files · +6 −6Browse files

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

Unified · Split

interface/src/avatar/SkeletonModel.cpp+1−1
@@ -263,7 +263,7 @@ void SkeletonModel::renderJointConstraints(int jointIndex) { · 262 unmodified lines
263 do {263 do {
264 const FBXJoint& joint = geometry.joints.at(jointIndex);264 const FBXJoint& joint = geometry.joints.at(jointIndex);
265 const JointState& jointState = _jointStates.at(jointIndex);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 glPushMatrix();268 glPushMatrix();
269 glTranslatef(position.x, position.y, position.z);269 glTranslatef(position.x, position.y, position.z);

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