mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 11:46:56 +02:00
Merge pull request #26 from wayne-chen/locomotionCRFeedback
fixing typo
This commit is contained in:
commit
56f0ef80ee
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue