minor cleanup

This commit is contained in:
U-GAPOS\andrew 2015-11-13 17:42:12 -08:00
parent 6733767d8b
commit 049fe4abee

View file

@ -363,7 +363,6 @@ void MyAvatar::updateHMDFollowVelocity() {
bool avatarIsMoving = glm::length(_velocity - _followVelocity) > FOLLOW_THRESHOLD_SPEED;
bool shouldFollow = hmdIsAtRest || avatarIsMoving;
// linear part
_followOffsetDistance = glm::length(offset);
if (_followOffsetDistance < FOLLOW_MIN_DISTANCE) {
// close enough