I am attempting to get a small figure to rotate using sin and cos. here is a code snippet.
void drawShip()
{
glPushMatrix();
glColor3f(1.0f, 0.0f, 0.0f);
glTranslatef(50.0f, 0.0f, 0.0f);
glBegin(GL_LINE_LOOP);
glVertex3f(0.0f+(cos(shipAngle)), 0.0f+(sin(shipAngle)) , 0.0f);
glVertex3f(-5.0f+(cos(shipAngle)), -5.0f+(sin(shipAngle)), 0.0f);
glVertex3f(0.0f+(cos(shipAngle)), 10.0f+(sin(shipAngle)), 0.0f);
glVertex3f(5.0f+(cos(shipAngle)), -5.0f+(sin(shipAngle)), 0.0f);
glEnd();
glPopMatrix();
}