mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +02:00
Sign fix.
This commit is contained in:
parent
11fedb23cd
commit
62134ebc4c
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ void SkeletonModel::applyPalmData(int jointIndex, const QVector<int>& fingerJoin
|
|||
if (length > EPSILON) {
|
||||
direction += fingerVector / length;
|
||||
}
|
||||
fingerVector = glm::inverse(palmRotation) * fingerVector;
|
||||
fingerVector = glm::inverse(palmRotation) * fingerVector * -sign;
|
||||
IndexValue indexValue = { i, atan2f(fingerVector.z, fingerVector.x) };
|
||||
fingerIndices.append(indexValue);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue