Original Post
I have declared the object as follows. void draw_pot(void){ for (int i=0;i<3;i++){ GLdouble ShapeVertexArray[30] ={95,80,80,130,140,130,125,80}; glBegin(GL_POLYGON); for (int i=0;i<4;i++) glVertex2d(ShapeVertexArray[2*i],ShapeVertexArray[2*i+1]); glEnd(); } } How would i go about using glDrawArray to create the shape and in turn perform transformations on the shape.