mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:17:02 +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) {
|
void Model::applyRotationDelta(int jointIndex, const glm::quat& delta, bool constrain) {
|
||||||
JointState& state = _jointStates[jointIndex];
|
JointState& state = _jointStates[jointIndex];
|
||||||
const FBXGeometry& geometry = _geometry->getFBXGeometry();
|
const FBXJoint& joint = _geometry->getFBXGeometry().joints[jointIndex];
|
||||||
const FBXJoint& joint = geometry.joints[jointIndex];
|
|
||||||
if (!constrain || (joint.rotationMin == glm::vec3(-PI, -PI, -PI) &&
|
if (!constrain || (joint.rotationMin == glm::vec3(-PI, -PI, -PI) &&
|
||||||
joint.rotationMax == glm::vec3(PI, PI, PI))) {
|
joint.rotationMax == glm::vec3(PI, PI, PI))) {
|
||||||
// no constraints
|
// no constraints
|
||||||
|
|
Loading…
Reference in a new issue