how can i create a rectangle using glRect() in the 3d image? that is i wanted to draw a rectangle on the floor inside 3d house.
i try glRect( 30, 0, 0, 35, 0, 0 );
prameters are x1, y1, z1, x2, y2, z2;
how can i create a rectangle using glRect() in the 3d image? that is i wanted to draw a rectangle on the floor inside 3d house.
i try glRect( 30, 0, 0, 35, 0, 0 );
prameters are x1, y1, z1, x2, y2, z2;
use
glBegin(GL_QUADS)
vertex…
glEnd();
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.