3D Objects in OpenGL
3D Objects in OpenGL
3D Objects in OpenGL
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
GLU <strong>3D</strong> <strong>Objects</strong><br />
Controll<strong>in</strong>g Quadrics Attributes<br />
void gluQuadricDrawStyle(<br />
GLUquadric qobj, GLenum drawStyle);<br />
<br />
For the quadrics object qobj, drawStyle controls the render<strong>in</strong>g<br />
style. Legal values for drawStyle are GLU_POINT, GLU_LINE,<br />
GLU_SILHOUETTE, and GLU_FILL.<br />
GLUquadric qobj = gluNewQuadric();<br />
gluQuadricDrawStyle(qobj, GLU_LINE);<br />
14