From 95c05a720dd6fd23799fe95285fdad31bb346a41 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Wed, 14 May 2014 13:48:03 -0700 Subject: [PATCH] Tabs -> spaces. --- interface/src/avatar/MyAvatar.cpp | 4 ++-- interface/src/devices/PrioVR.cpp | 12 ++++++------ interface/src/devices/Visage.cpp | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index 5ef4b6ecc0..1eac264ae4 100644 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -239,8 +239,8 @@ void MyAvatar::updateFromTrackers(float deltaTime) { if (Application::getInstance()->getPrioVR()->isActive()) { estimatedRotation = glm::degrees(safeEulerAngles(Application::getInstance()->getPrioVR()->getHeadRotation())); - estimatedRotation.x *= -1.0f; - estimatedRotation.z *= -1.0f; + estimatedRotation.x *= -1.0f; + estimatedRotation.z *= -1.0f; } else { FaceTracker* tracker = Application::getInstance()->getActiveFaceTracker(); diff --git a/interface/src/devices/PrioVR.cpp b/interface/src/devices/PrioVR.cpp index 605ace5c9b..064e2be4b5 100644 --- a/interface/src/devices/PrioVR.cpp +++ b/interface/src/devices/PrioVR.cpp @@ -80,12 +80,12 @@ void PrioVR::update() { unsigned int timestamp; yei_getLastStreamDataAll(_skeletalDevice, (char*)_jointRotations.data(), _jointRotations.size() * sizeof(glm::quat), ×tamp); - - // convert to our expected coordinate system - for (int i = 0; i < _jointRotations.size(); i++) { - _jointRotations[i].y *= -1.0f; - _jointRotations[i].z *= -1.0f; - } + + // convert to our expected coordinate system + for (int i = 0; i < _jointRotations.size(); i++) { + _jointRotations[i].y *= -1.0f; + _jointRotations[i].z *= -1.0f; + } #endif } diff --git a/interface/src/devices/Visage.cpp b/interface/src/devices/Visage.cpp index 7c8c3ae89e..119d89654a 100644 --- a/interface/src/devices/Visage.cpp +++ b/interface/src/devices/Visage.cpp @@ -56,7 +56,7 @@ Visage::~Visage() { #ifdef HAVE_VISAGE _tracker->stop(); // deleting the tracker crashes windows; disable for now - //delete _tracker; + //delete _tracker; delete _data; #endif }