3d rectangles

I can see how to draw 3d cubes and spheres using GLUT.

But is there an easy way to draw a 3d rectangle??? maybe using glut or glu…

Without having to draw the thing from scratch (specifying each vertices etc).

any help would be appreciated!

Ask yourself: how you want to describe a triangle simplier than specifying three vertices?

With GLUT, there’s a function like this for making a cube :

glutSolidCube(float Height);

Looks in the help, there’s perhaps a
glutSolidRectangle(float Height, float Width)

You can always use glscale with a cube to get your rectangle