I have a square which i want to be infinite, like landscape.
i also want it to be in a wireframe view, is there anyway to do that? Also is there a function to subdivide?Code:glTranslatef(0.0f, 0.0f, -6.0f);
glRotatef(-50.0f,1.0f,0.0f,0.0f);
glColor3f(0.0,0.8,0.0);
glBegin(GL_QUADS);
glVertex3f(-5.0f, 5.0f, 0.0f);
glVertex3f( 5.0f, 5.0f, 0.0f);
glVertex3f( 5.0f,-5.0f, 0.0f);
glVertex3f(-5.0f,-5.0f, 0.0f);
glEnd();