i am drawing a gluCylinder but it appears to be hollow tubes. I want the two end to be capped, or completely filled.
Someone said that if i make the stack parameter to '2' the two ends are capped. i tried it (as typed in the code box) still no caps. Is there a way to make gluCylinder close two ends without declaring two other gluDisc?Code:
GLUquadricObj *p = gluNewQuadric();
gluCylinder(p, 0.5, 0.5, 2, 20, 2);