Class threedee.Cube
Extends
.
A cube model.
Defined in: Cube.js.
Constructor Attributes | Constructor Name and Description |
---|---|
threedee.Cube(xRadius, yRadius, zRadius)
Constructs a new cube with the specified sizes.
|
Class Detail
threedee.Cube(xRadius, yRadius, zRadius)
Constructs a new cube with the specified sizes.
- Parameters:
- {number} xRadius
- The X radius
- {number=} yRadius
- The Y radius. Optional. Defaults to X radius.
- {number=} zRadius
- The Z radius. Optional. Defaults to Y radius.