- drawCone
void drawCone(gboolean solid, double base, double height, int slices, int stacks)
Renders a cone oriented along the Z axis.
The base of the cone is placed at Z = 0, and the top at Z = height.
The cone is subdivided around the Z axis into slices, and along
the Z axis into stacks.
- drawCube
void drawCube(gboolean solid, double size)
Renders a cube.
The cube is centered at the modeling coordinates origin with sides of
length size.
- drawDodecahedron
void drawDodecahedron(gboolean solid)
Renders a dodecahedron centered at the modeling coordinates
origin with a radius of the square root of 3.
- drawIcosahedron
void drawIcosahedron(gboolean solid)
Renders a icosahedron.
The icosahedron is centered at the modeling coordinates origin
and has a radius of 1.0.
- drawOctahedron
void drawOctahedron(gboolean solid)
Renders a octahedron centered at the modeling coordinates
origin with a radius of 1.0.
- drawSphere
void drawSphere(gboolean solid, double radius, int slices, int stacks)
Renders a sphere centered at the modeling coordinates origin of
the specified @radius. The sphere is subdivided around the Z axis into
slices and along the Z axis into stacks.
- drawTeapot
void drawTeapot(gboolean solid, double scale)
Renders a teapot.
Both surface normals and texture coordinates for the teapot are generated.
The teapot is generated with OpenGL evaluators.
- drawTetrahedron
void drawTetrahedron(gboolean solid)
Renders a tetrahedron centered at the modeling coordinates
origin with a radius of the square root of 3.
- drawTorus
void drawTorus(gboolean solid, double inner_radius, double outer_radius, int nsides, int rings)
Renders a torus (doughnut) centered at the modeling coordinates
origin whose axis is aligned with the Z axis.
- crossprod
void crossprod(GLfloat[3] v1, GLfloat[3] v2, GLfloat[3] prod)
Undocumented in source. Be warned that the author may not have intended to support it.
- diff3
void diff3(T a, U b, V c)
Undocumented in source. Be warned that the author may not have intended to support it.
- dodecahedron
void dodecahedron(GLenum type)
Undocumented in source. Be warned that the author may not have intended to support it.
- doughnut
void doughnut(GLfloat r, GLfloat R, GLint nsides, GLint rings)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawBox
void drawBox(GLfloat size, GLenum type)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawtriangle
void drawtriangle(int i, GLfloat[3][] data, int[3][] ndx, GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.
- icosahedron
void icosahedron(GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.
- initDodecahedron
void initDodecahedron()
Undocumented in source. Be warned that the author may not have intended to support it.
- initQuadObj
void initQuadObj()
Undocumented in source. Be warned that the author may not have intended to support it.
- normalize
void normalize(GLfloat[3] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- octahedron
void octahedron(GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.
- pentagon
void pentagon(int a, int b, int c, int d, int e, GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.
- recorditem
void recorditem(GLfloat[3] n1, GLfloat[3] n2, GLfloat[3] n3, GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.
- subdivide
void subdivide(GLfloat[3] v0, GLfloat[3] v1, GLfloat[3] v2, GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.
- teapot
void teapot(GLint grid, GLdouble scale, GLenum type)
Undocumented in source. Be warned that the author may not have intended to support it.
- tetrahedron
void tetrahedron(GLenum shadeType)
Undocumented in source. Be warned that the author may not have intended to support it.