Hi, I wanted to use glFrustum instead of gluPerspective but I suspect there are some maths to do and I’m sure of mine.
Here is Nehe’s code :
// Calculate The Aspect Ratio Of The Window
gluPerspective(45.0f,(GLfloat)width/(GLfloat)height,0.1f,100.0f);
How to transform that in a frustum ??