glBegin(GL_TRIANGLES); glVertex3i(100,100,0); glVertex3i(100,80,0); glVertex3i(80,80,0); glEnd();
These calls does not work. Only glVertex3f works, just do not know why. But in glVertex3f, I can only put float less than 1. Since if I put some float large than 1, the vertex will be out of the screen.
So my question is that why above calls does not work? I think the primitves are out of the boudary, but do not know why.