mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +02:00
One more unused variable.
This commit is contained in:
parent
c8c3cf3664
commit
2bac802407
1 changed files with 1 additions and 2 deletions
|
@ -1028,8 +1028,7 @@ float Model::getLimbLength(int jointIndex) const {
|
|||
|
||||
void Model::applyRotationDelta(int jointIndex, const glm::quat& delta, bool constrain) {
|
||||
JointState& state = _jointStates[jointIndex];
|
||||
const FBXGeometry& geometry = _geometry->getFBXGeometry();
|
||||
const FBXJoint& joint = geometry.joints[jointIndex];
|
||||
const FBXJoint& joint = _geometry->getFBXGeometry().joints[jointIndex];
|
||||
if (!constrain || (joint.rotationMin == glm::vec3(-PI, -PI, -PI) &&
|
||||
joint.rotationMax == glm::vec3(PI, PI, PI))) {
|
||||
// no constraints
|
||||
|
|
Loading…
Reference in a new issue