mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:44:08 +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()) {
|
||||
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();
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue