mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
Another coordinate tweak.
This commit is contained in:
parent
3423053612
commit
697484d0bb
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ void Faceshift::readFromSocket() {
|
|||
if (data.m_trackingSuccessful) {
|
||||
_headRotation = glm::quat(data.m_headRotation.w, -data.m_headRotation.x,
|
||||
data.m_headRotation.y, -data.m_headRotation.z);
|
||||
const float TRANSLATION_SCALE = 0.1f;
|
||||
const float TRANSLATION_SCALE = 0.02f;
|
||||
_headTranslation = glm::vec3(data.m_headTranslation.x, data.m_headTranslation.y,
|
||||
-data.m_headTranslation.z) * TRANSLATION_SCALE;
|
||||
_eyeGazeLeftPitch = data.m_eyeGazeLeftPitch;
|
||||
|
|
Loading…
Reference in a new issue