mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:29:30 +02:00
Tabs -> spaces.
This commit is contained in:
parent
4cbe8a41db
commit
95c05a720d
3 changed files with 9 additions and 9 deletions
|
@ -239,8 +239,8 @@ void MyAvatar::updateFromTrackers(float deltaTime) {
|
||||||
|
|
||||||
if (Application::getInstance()->getPrioVR()->isActive()) {
|
if (Application::getInstance()->getPrioVR()->isActive()) {
|
||||||
estimatedRotation = glm::degrees(safeEulerAngles(Application::getInstance()->getPrioVR()->getHeadRotation()));
|
estimatedRotation = glm::degrees(safeEulerAngles(Application::getInstance()->getPrioVR()->getHeadRotation()));
|
||||||
estimatedRotation.x *= -1.0f;
|
estimatedRotation.x *= -1.0f;
|
||||||
estimatedRotation.z *= -1.0f;
|
estimatedRotation.z *= -1.0f;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
FaceTracker* tracker = Application::getInstance()->getActiveFaceTracker();
|
FaceTracker* tracker = Application::getInstance()->getActiveFaceTracker();
|
||||||
|
|
|
@ -80,12 +80,12 @@ void PrioVR::update() {
|
||||||
unsigned int timestamp;
|
unsigned int timestamp;
|
||||||
yei_getLastStreamDataAll(_skeletalDevice, (char*)_jointRotations.data(),
|
yei_getLastStreamDataAll(_skeletalDevice, (char*)_jointRotations.data(),
|
||||||
_jointRotations.size() * sizeof(glm::quat), ×tamp);
|
_jointRotations.size() * sizeof(glm::quat), ×tamp);
|
||||||
|
|
||||||
// convert to our expected coordinate system
|
// convert to our expected coordinate system
|
||||||
for (int i = 0; i < _jointRotations.size(); i++) {
|
for (int i = 0; i < _jointRotations.size(); i++) {
|
||||||
_jointRotations[i].y *= -1.0f;
|
_jointRotations[i].y *= -1.0f;
|
||||||
_jointRotations[i].z *= -1.0f;
|
_jointRotations[i].z *= -1.0f;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ Visage::~Visage() {
|
||||||
#ifdef HAVE_VISAGE
|
#ifdef HAVE_VISAGE
|
||||||
_tracker->stop();
|
_tracker->stop();
|
||||||
// deleting the tracker crashes windows; disable for now
|
// deleting the tracker crashes windows; disable for now
|
||||||
//delete _tracker;
|
//delete _tracker;
|
||||||
delete _data;
|
delete _data;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue