Simplify GUI projection settings

--HG--
branch : multipass-stereo
This commit is contained in:
kaetemi 2014-08-03 00:56:26 +02:00
parent 1965d46dce
commit 503292065c

View file

@ -700,9 +700,11 @@ void CStereoOVR::renderGUI()
mat->setTexture(0, m_GUITexture->getITexture());
// user options
float height = 3.0f;
float scale = 1.0f;
float distance = 1.5f;
float offcenter = 0.75f; //1.5f;
float offcenter = 0.75f;
float height = scale * distance * 2.0f;
uint32 winw, winh;
m_Driver->getWindowSize(winw, winh);