Original Post
In tutorial 9, I wanted to see for myself the tilt angle...so I tried to add a quad (very big one, 10f x 10f, centered at origin)...so I added a set of codes:
glTranslatef(0.0f,0.0f,zoom);
glRotatef(tilt,1.0f,0.0f,0.0f);
glRotatef(side,0.0f,1.0f,0.0f);
glColor3f(1.0f,1.0f,1.0f);
glBegin(GL_QUADS);
glVertex3f(-50.0f,-50.0f, 0.0f);
glVertex3f( 50.0f,-50.0f, 0.0f);
glVertex3f( 50.0f, 50.0f, 0.0f);
glVertex3f(-50.0f, 50.0f, 0.0f);
glEnd();
(Since each star is draw starting with a loadidentity, so I didn''t bother undoing the translation and rotations)
anyway, the square won''t show...what''s wrong?