Package: com.sun.j3d.utils.geometry
A ColorCube is a simple color-per-vertex cube visual object with a different color for each face.
ColorCube extends the Shape3D class; therefore, it is a Leaf node. ColorCube is easy to use when
putting together a virtual universe.
ColorCube()
Constructs a color cube of default size. By default, a corner is located 1 meter along each of the axis
from the origin, resulting in a cube that is centered at the origin and is 2 meters high, wide and deep.
ColorCube(double scale)
Constructs a color cube scaled by the value specified. The default size is 2 meters on an edge. The
resulting ColorCube has corners at (scale, scale, scale) and (-scale, -scale, -scale)