fixing typo

This commit is contained in:
Wayne Chen 2019-04-04 13:47:13 -07:00
parent ec4ad02192
commit 819bf9212c

View file

@ -3420,7 +3420,6 @@ glm::vec3 MyAvatar::calculateScaledDirection(){
break;
case LocomotionRelativeMovementMode::MOVEMENT_HAND_RELATIVE_LEVELED:
forward = (handRotation * controllerForward);
if (glm::length(forward) > EPSILON) {
auto transform = forward - (glm::dot(forward, Vectors::UNIT_Y) * Vectors::UNIT_Y);
if (glm::length(transform) > EPSILON) {
forward = glm::normalize(transform);