glutSolidCube

render a solid or wireframe cube respectively.

Signature

glutSolidCube( GLdouble( size ) )-> void
glutSolidCube( size )
glutSolidCube( GLdouble(size) ) -> None
glutWireCube( GLdouble( size ) )-> void
glutWireCube( size )
glutWireCube( GLdouble(size) ) -> None

Parameters

VariablesDescription
size
Length of each edge.

See Also

glutSolidSphere glutSolidCone glutSolidTorus glutSolidDodecahedron glutSolidOctahedron glutSolidTetrahedron glutSolidIcosahedron glutSolidTeapot

Sample 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
OpenGLContext tests/shaders.py Lines: 30
OpenGLContext tests/redbook_alpha3D.py Lines: 88
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 29, 324
OpenGL-Demo PyOpenGL-Demo/GLUT/shader_test.py Lines: 91
OpenGL-Demo py2exe-example/shader_test.py Lines: 92
glutWireCube
OpenGL-Demo PyOpenGL-Demo/redbook/cube.py Lines: 73
OpenGL-Demo PyOpenGL-Demo/redbook/movelight.py Lines: 103