mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:44:08 +02:00
remove unused JointState::setRotation() method
This commit is contained in:
parent
1a8a2d9156
commit
8c4f0968d8
2 changed files with 1 additions and 8 deletions
|
@ -173,10 +173,6 @@ void JointState::clearTransformTranslation() {
|
|||
_visibleTransform[3][2] = 0.0f;
|
||||
}
|
||||
|
||||
void JointState::setRotation(const glm::quat& rotation, bool constrain, float priority) {
|
||||
applyRotationDelta(rotation * glm::inverse(getRotation()), true, priority);
|
||||
}
|
||||
|
||||
void JointState::applyRotationDelta(const glm::quat& delta, bool constrain, float priority) {
|
||||
// NOTE: delta is in model-frame
|
||||
assert(_fbxJoint != NULL);
|
||||
|
@ -267,4 +263,4 @@ void JointState::slaveVisibleTransform() {
|
|||
_visibleTransform = _transform;
|
||||
_visibleRotation = getRotation();
|
||||
_visibleRotationInConstrainedFrame = _rotationInConstrainedFrame;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,9 +60,6 @@ public:
|
|||
|
||||
int getParentIndex() const { return _fbxJoint->parentIndex; }
|
||||
|
||||
/// \param rotation rotation of joint in model-frame
|
||||
void setRotation(const glm::quat& rotation, bool constrain, float priority);
|
||||
|
||||
/// \param delta is in the model-frame
|
||||
void applyRotationDelta(const glm::quat& delta, bool constrain = true, float priority = 1.0f);
|
||||
|
||||
|
|
Loading…
Reference in a new issue