remove some unused stuff

This commit is contained in:
Seth Alves 2015-12-22 17:56:12 -08:00
parent 84bcfb7d71
commit 1a51c9ddbe
4 changed files with 0 additions and 21 deletions

View file

@ -386,10 +386,6 @@ bool Rig::getAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotation
}
}
bool Rig::setAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotation) {
return false;
}
bool Rig::getJointTranslation(int jointIndex, glm::vec3& translation) const {
QReadLocker readLock(&_externalPoseSetLock);
if (jointIndex >= 0 && jointIndex < (int)_externalPoseSet._relativePoses.size()) {
@ -410,10 +406,6 @@ bool Rig::getAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& trans
}
}
bool Rig::setAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& translation) {
return false;
}
bool Rig::getJointCombinedRotation(int jointIndex, glm::quat& result, const glm::quat& rotation) const {
// AJT: TODO: used by attachments
ASSERT(false);

View file

@ -134,8 +134,6 @@ public:
// rig space (thread-safe)
bool getAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotation) const;
bool getAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& translation) const;
bool setAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotation);
bool setAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& translation);
// legacy
bool getJointCombinedRotation(int jointIndex, glm::quat& result, const glm::quat& rotation) const;

View file

@ -699,14 +699,6 @@ void Model::setJointTranslation(int index, bool valid, const glm::vec3& translat
_rig->setJointTranslation(index, valid, translation, priority);
}
bool Model::setAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotation) {
return _rig->setAbsoluteJointRotationInRigFrame(jointIndex, rotation);
}
bool Model::setAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& translation) {
return _rig->setAbsoluteJointTranslationInRigFrame(jointIndex, translation);
}
int Model::getParentJointIndex(int jointIndex) const {
return (isActive() && jointIndex != -1) ? _geometry->getFBXGeometry().joints.at(jointIndex).parentIndex : -1;
}

View file

@ -170,9 +170,6 @@ public:
bool getAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotationOut) const;
bool getAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& translationOut) const;
bool setAbsoluteJointRotationInRigFrame(int jointIndex, glm::quat& rotation);
bool setAbsoluteJointTranslationInRigFrame(int jointIndex, glm::vec3& translation);
bool getRelativeDefaultJointRotation(int jointIndex, glm::quat& rotationOut) const;
bool getRelativeDefaultJointTranslation(int jointIndex, glm::vec3& translationOut) const;