mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:53:08 +02:00
remove a debug line from setHeadFromGyros
This commit is contained in:
parent
a1b556d6a2
commit
9657265c24
1 changed files with 0 additions and 1 deletions
|
@ -1201,7 +1201,6 @@ void Avatar::setHeadFromGyros(glm::vec3* eulerAngles, glm::vec3* angularVelocity
|
||||||
angles += (*angularVelocity) * deltaTime;
|
angles += (*angularVelocity) * deltaTime;
|
||||||
// Smooth to slowly follow absolute values
|
// Smooth to slowly follow absolute values
|
||||||
angles = ((1.f - deltaTime / smoothingTime) * angles) + (deltaTime / smoothingTime) * (*eulerAngles);
|
angles = ((1.f - deltaTime / smoothingTime) * angles) + (deltaTime / smoothingTime) * (*eulerAngles);
|
||||||
printf("Setting head from gyros!\n");
|
|
||||||
_head.setYaw (angles.x);
|
_head.setYaw (angles.x);
|
||||||
_head.setPitch(angles.y);
|
_head.setPitch(angles.y);
|
||||||
_head.setRoll (angles.z);
|
_head.setRoll (angles.z);
|
||||||
|
|
Loading…
Reference in a new issue