RectangularPrism
ABSTRACT
Generates a rectangular prism mesh based on specified parameters.
PARAMETERS
center | a 3-vector indicating the center coordinates of the rectangular prism |
dimensions | a 3-vector specifying the dimensions (width, height, depth) of the rectangular prism |
tag | a vector of numbers used as the mesh's tag |
default | an enum branch specifying to use the default coloring scheme, which is to have a white surface |
surface | a 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}})