Original Post
Hello, i still studying NeHe turorial but is one function i still don''t get. is the drawing glVertex3f()
glBegin(GL_QUADS); // Draw A Quad
glVertex3f(-1.0f, 1.0f, 0.0f); // Top Left
glVertex3f( 1.0f, 1.0f, 0.0f); // Top Right
glVertex3f( 1.0f,-1.0f, 0.0f); // Bottom Right
glVertex3f(-1.0f,-1.0f, 0.0f); // Bottom Left
glEnd(); // Done Drawing The Quad
return TRUE;
this is draw square right, well how do you know where to put -1.0f etc.. does it go higher then 1.0 ? like 2.4f 5.6f etc.. or is a small tutorial the explain this glVertexef() even more?