mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +02:00
Up/down, not top/bottom.
This commit is contained in:
parent
600f36aa64
commit
b328304da4
1 changed files with 2 additions and 2 deletions
|
@ -540,8 +540,8 @@ void OculusManager::overrideOffAxisFrustum(float& left, float& right, float& bot
|
||||||
const ovrFovPort& port = _eyeFov[_activeEyeIndex];
|
const ovrFovPort& port = _eyeFov[_activeEyeIndex];
|
||||||
right = nearVal * port.RightTan;
|
right = nearVal * port.RightTan;
|
||||||
left = -nearVal * port.LeftTan;
|
left = -nearVal * port.LeftTan;
|
||||||
top = nearVal * port.TopTan;
|
top = nearVal * port.UpTan;
|
||||||
bottom = -nearVal * port.BottomTan;
|
bottom = -nearVal * port.DownTan;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue