Vector
ABSTRACT
Generates a vector mesh based on specified parameters. This looks like an arrow from the start to the end point
PARAMETERS
tail | A 3-vector denoting the starting point of the vector |
delta | A 3-vector indicating the change or direction of the vector |
tail | A 3-vector denoting the starting point of the vector |
delta | A 3-vector indicating the change or direction of the vector |
normal | A 3-vector representing the normal direction of the vector |
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 vector mesh conforming to the specified parameters
DECLARATION
func Vector([config] {[main] {tail, delta}, [normal] {tail, delta, normal}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})