mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +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 {
|
glm::mat4 OculusMobileDisplayPlugin::getEyeProjection(Eye eye, const glm::mat4& baseProjection) const {
|
||||||
qDebug()<< "QQQ_ " << __FUNCTION__;
|
|
||||||
|
|
||||||
glm::mat4 result = baseProjection;
|
glm::mat4 result = baseProjection;
|
||||||
|
|
||||||
VrHandler::withOvrMobile([&](ovrMobile* session){
|
VrHandler::withOvrMobile([&](ovrMobile* session){
|
||||||
|
@ -142,10 +140,9 @@ glm::mat4 OculusMobileDisplayPlugin::getCullingProjection(const glm::mat4& baseP
|
||||||
|
|
||||||
fovs[0].extend(fovs[1]);
|
fovs[0].extend(fovs[1]);
|
||||||
result= glm::scale( fovs[0].withZ(baseProjection),glm::vec3(1.5f));
|
result= glm::scale( fovs[0].withZ(baseProjection),glm::vec3(1.5f));
|
||||||
|
return result;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue