Up/down, not top/bottom.

This commit is contained in:
Andrzej Kapolka 2014-09-10 14:15:00 -07:00
parent 600f36aa64
commit b328304da4

View file

@ -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
}