3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 12:55:27 +02:00

remove some debug cruft

This commit is contained in:
Andrew Meadows 2016-04-20 11:38:01 -07:00
parent 872622c6f7
commit 2bd83764e7

View file

@ -444,9 +444,6 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_
_numInactiveUpdates++;
} else {
glm::vec3 gravity = _entity->getGravity();
glm::vec3 error = _measuredAcceleration - gravity;
float errorLength = glm::length(error);
int numSteps = (int)(step - _lastStep);
// if this entity has been accelerated at close to gravity for a certain number of simulation-steps, let
// the entity server's estimates include gravity.