- gluCylinder(quadratic, cylSize, cylSize, 0.25f, resolution, resolution); /* quad, radius(bottom, radius(top), height, subdivisions (around Z), subdevisions (along Z) */
- tb->carpet_polys += resolution*resolution;
- glRotatef(180, 0.0f, 1.0f, 0.0f); /* they are upside down */
- gluDisk(quadratic, 0.0f, cylSize, resolution, resolution ); /* inner size (cd hole), outer size (radius), subdivisions radial, subdivisions circular */
- tb->carpet_polys += resolution*resolution;
- glRotatef(180, 0.0f, 1.0f, 0.0f); /* recover */
- glTranslatef(0.0f,1.0f,0.0f); /* move to the next cylinder center (backward) */
+ tb->carpet_polys += tube(0, 0, -0.1,
+ 0, 0, 0.26,
+ cylSize, 0,
+ resolution, True, True,
+ wire);
+ glRotatef(180, 0.0f, 1.0f, 0.0f); /* they are upside down */
+ glRotatef(180, 0.0f, 1.0f, 0.0f); /* recover */
+ glTranslatef(0.0f,1.0f,0.0f); /* move to the next cylinder center (backward) */