7 class MyGLWidget
: public QGLWidget
12 MyGLWidget(QWidget
*parent
= 0);
16 void setNumOfVertices(int dir
);
17 void rotateX(GLfloat angle
);
18 void rotateY(GLfloat angle
);
19 void rotateZ(GLfloat angle
);
24 void resizeGL(int width
, int height
);
28 void drawSphere(GLuint nStacks
, GLuint nSlices
, GLfloat radius
);
29 unsigned int numVertices
;