SimpleBox

SimpleBox

An axis-aligned rectangular prism defined by a center point and x-, y- and z-extents (radii) from that center.

Constructor

new SimpleBox(widthopt, heightopt, lengthopt)

Parameters:
Name Type Attributes Default Description
width number <optional>
1

Total width of box.

height number <optional>
1

Total height of box.

length number <optional>
1

Total length of box.

Methods

clone() → {SimpleBox}

Returns a clone of this quad

rebuild() → {SimpleBox}

Builds or rebuilds the mesh data.