mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
remove debug cruft
This commit is contained in:
parent
b557717dab
commit
17a0dd574a
1 changed files with 0 additions and 1 deletions
|
@ -557,7 +557,6 @@ void Avatar::measureMotionDerivatives(float deltaTime) {
|
||||||
float angle = 2.0f * acosf(changeDot);
|
float angle = 2.0f * acosf(changeDot);
|
||||||
glm::quat delta = glm::inverse(_lastOrientation) * orientation;
|
glm::quat delta = glm::inverse(_lastOrientation) * orientation;
|
||||||
glm::vec3 angularVelocity = (angle * invDeltaTime) * glm::axis(delta);
|
glm::vec3 angularVelocity = (angle * invDeltaTime) * glm::axis(delta);
|
||||||
if (glm::any(glm::isnan(angularVelocity))) { crashHere(); }
|
|
||||||
setWorldAngularVelocity(angularVelocity);
|
setWorldAngularVelocity(angularVelocity);
|
||||||
_lastOrientation = orientation;
|
_lastOrientation = orientation;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue