mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
cleanup
This commit is contained in:
parent
5bf994626c
commit
5c1e5e0c46
1 changed files with 1 additions and 4 deletions
|
@ -120,8 +120,6 @@ QRectF OculusMobileDisplayPlugin::getPlayAreaRect() {
|
|||
}
|
||||
|
||||
glm::mat4 OculusMobileDisplayPlugin::getEyeProjection(Eye eye, const glm::mat4& baseProjection) const {
|
||||
qDebug()<< "QQQ_ " << __FUNCTION__;
|
||||
|
||||
glm::mat4 result = baseProjection;
|
||||
|
||||
VrHandler::withOvrMobile([&](ovrMobile* session){
|
||||
|
@ -142,10 +140,9 @@ glm::mat4 OculusMobileDisplayPlugin::getCullingProjection(const glm::mat4& baseP
|
|||
|
||||
fovs[0].extend(fovs[1]);
|
||||
result= glm::scale( fovs[0].withZ(baseProjection),glm::vec3(1.5f));
|
||||
return result;
|
||||
});
|
||||
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue