Hi,
I’ve currently created a map in openGL, but for some reason it always appears to be slightly slanted. Does anyone know why could this happen?
Here’s a sample of my initialising code.
void MainGLCanvas::doInit() {
glEnable(GL_TEXTURE_2D);
LoadGLTextures();
glEnable(GL_DEPTH_TEST);
glMatrixMode(GL_PROJECTION);
glLoadIdentity(); // Reset The Projection Matrix
glClearColor(1.0,1.0,1.0,0.0);
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
}