Signature
Parameters
Variables | Description |
---|---|
size |
Length of each edge.
|
Description
glutSolidCube
and
glutWireCube
render a solid or wireframe cube respectively.
The cube is centered at the modeling coordinates origin with sides of length size.
See Also
glutSolidSphere glutSolidCone glutSolidTorus glutSolidDodecahedron glutSolidOctahedron glutSolidTetrahedron glutSolidIcosahedron glutSolidTeapotSample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glutSolidCube
glutWireCube