From b6d7b9b544494e227ba52e8c7981b651f3d48c79 Mon Sep 17 00:00:00 2001 From: Anthony Thibault Date: Tue, 25 Sep 2018 10:44:00 -0700 Subject: [PATCH] spelling --- plugins/openvr/src/ViveControllerManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openvr/src/ViveControllerManager.cpp b/plugins/openvr/src/ViveControllerManager.cpp index bf2e384b62..50bae3e33c 100644 --- a/plugins/openvr/src/ViveControllerManager.cpp +++ b/plugins/openvr/src/ViveControllerManager.cpp @@ -1111,7 +1111,7 @@ void ViveControllerManager::InputDevice::calibrateFoot(const glm::mat4& defaultT glm::vec3 localXAxisInPuckFrame = glm::normalize(transformVectorFast(glm::inverse(puckPoseMat) * defaultToReferenceMat, glm::vec3(-1.0f, 0.0f, 0.0f))); float distance = glm::dot(translationOffset, localXAxisInPuckFrame); - // We ensure the offset vector lies in the sagital plane of the avatar. + // We ensure the offset vector lies in the sagittal plane of the avatar. // This helps prevent wide or narrow stances due to the user not matching the t-pose perfectly. glm::vec3 finalTranslation = translationOffset - (distance * localXAxisInPuckFrame); glm::mat4 finalOffset = createMatFromQuatAndPos(rotationOffset, finalTranslation);