|
From: FerretallicA <fer...@ho...> - 2003-08-01 03:01:12
|
Is there a 'proper' way to make an OpenGL app scale properly when you resize it's host window to a different Height:Width ratio? I would have imagined it would be as simple as the following line- gluPerspective(45.0f,(GLfloat)(App.Window.Width / App.Window.Height),0.1f,100.0f); Instead it results in the scene scaling when resized vertically, and only showing more or less of the scene when resized horizontally. |