I am trying to draw a 3D cube that will have no Perspective, so for example: the angel between the bottom side and the right side (and between the bottom and the left side, etc…) would be 90 degrees (or really close to 90).
I am using:
glLoadIdentity();
glTranslatef(0.0f,0.0f,-8.0f);
glRotatef(40,1.0f,0.0f,0.0f);
glRotatef(30,0.0f,1.0f,0.0f);
glBegin(GL_QUADS);
…
It is positioned almost the way I want it, except the agle between sides is not 90 degrees (or close to 90).
Should I use some other functions to make it work right?
Thank you,
Julia