Plane
ABSTRACT
Generates a plane mesh based on specified parameters.
PARAMETERS
normal | A 3-vector representing the normal direction of the plane |
dist | A scalar value indicating the distance from the origin along the normal |
width | A scalar value representing the width of the plane |
height | A scalar value representing the height of the plane |
tag | A vector of numbers used as the mesh's tag |
default | An enum branch specifying the default coloring scheme, a white stroke with white fill. Note that an uprank is always forced |
stroke | A 4-vector representing the color of the stroke |
stroke | A 4-vector representing the color of the stroke |
fill | A 4-vector representing the color of the fill |
RETURN
Generates a plane mesh conforming to the specified parameters
DECLARATION
func Plane([config] {[main] {normal, dist, width, height}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})