mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 05:04:14 +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);
|
||||
glm::quat delta = glm::inverse(_lastOrientation) * orientation;
|
||||
glm::vec3 angularVelocity = (angle * invDeltaTime) * glm::axis(delta);
|
||||
if (glm::any(glm::isnan(angularVelocity))) { crashHere(); }
|
||||
setWorldAngularVelocity(angularVelocity);
|
||||
_lastOrientation = orientation;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue