Minor code feedback changes, moving test scripts to developer/tests.

This commit is contained in:
Chris Howe 2017-06-09 11:07:56 -04:00
parent 8166fec0e0
commit 08d93173f0
3 changed files with 2 additions and 4 deletions

View file

@ -779,8 +779,7 @@ glm::vec3 MyAvatar::worldToJointPoint(const glm::vec3& position, const int joint
if (jointIndex != -1) {
if (_skeletonModel->getJointPositionInWorldFrame(jointIndex, jointPos)) {
_skeletonModel->getJointRotationInWorldFrame(jointIndex, jointRot);
}
else {
} else {
qWarning() << "Invalid joint index specified: " << jointIndex;
}
}
@ -816,8 +815,7 @@ glm::vec3 MyAvatar::jointToWorldPoint(const glm::vec3& jointSpacePos, const int
if (jointIndex != -1) {
if (_skeletonModel->getJointPositionInWorldFrame(jointIndex, jointPos)) {
_skeletonModel->getJointRotationInWorldFrame(jointIndex, jointRot);
}
else {
} else {
qWarning() << "Invalid joint index specified: " << jointIndex;
}
}