PDA

View Full Version : rotating a hexagonl in 2D



lugnut
12-15-2004, 01:22 PM
I'm a new to it, my assigment is I have a hexagon and I have to swirl it at the same time increasing the size of it. it how do I approach it?

dorbie
12-15-2004, 09:43 PM
Look at the following function calls:

glMatrixMode
glLoadIdentity
glPushMatrix
glPopMatrix
glTranslatef
glRotatef
glScalef