mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:53:26 +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];
|
||||
right = nearVal * port.RightTan;
|
||||
left = -nearVal * port.LeftTan;
|
||||
top = nearVal * port.TopTan;
|
||||
bottom = -nearVal * port.BottomTan;
|
||||
top = nearVal * port.UpTan;
|
||||
bottom = -nearVal * port.DownTan;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue