glPushMatrix();
glRotatef(90, 0, 0, 1);
glBegin(GL_POLYGON);
glVertex2f(figureMove.getXPosition(-30), figureMove.getYPosition(45));
glVertex2f(figureMove.getXPosition(-30), figureMove.getYPosition(50));
glVertex2f(figureMove.getXPosition(-20), figureMove.getYPosition(50));
glVertex2f(figureMove.getXPosition(-20), figureMove.getYPosition(45));
glVertex2f(figureMove.getXPosition(-25), figureMove.getYPosition(45));
glVertex2f(figureMove.getXPosition(-25), figureMove.getYPosition(40));
glVertex2f(figureMove.getXPosition(-35), figureMove.getYPosition(40));
glVertex2f(figureMove.getXPosition(-35), figureMove.getYPosition(45));
glEnd();
glPopMatrix();
Без glRotatef
С glRotatef