RectangularPrism

ABSTRACT

Generates a rectangular prism mesh based on specified parameters.

PARAMETERS
centera 3-vector indicating the center coordinates of the rectangular prism
dimensionsa 3-vector specifying the dimensions (width, height, depth) of the rectangular prism
taga vector of numbers used as the mesh's tag
defaultan enum branch specifying to use the default coloring scheme, which is to have a white surface
surfacea 4-vector representing the color of the rectangular prism's surface
RETURN

generates a mesh conforming to the specified rectangular prism parameters

DECLARATION
func RectangularPrism([config] {[main] {center, dimensions}}, tag, [color] {[default] {}, [color] {surface}})