mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
Simplify GUI projection settings
This commit is contained in:
parent
9d883e227c
commit
54f4d5bac3
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue