Hi,
Ive created 2 sphears and rendering them something like this:
glPushMatrix();
glTranslatef();
glRotate(ang, 1, y, z);
draw sphear
glPopMatrix();
glPushMatrix();
glTranslatef();
glRotate(ang, x, y, 1);
draw sphear
glPopMatrix();
The first sphear rotates ok, (around x)
but the second one rotates around both x and z
Whats causing that?
Doesnt glPushMatrix means to load a clean matrix without any transformation?
(I dont want to use glLoadidentity()
but maybe thats the only way?
Hope not, then i need to relocate whole my world
Thanks guys.




)