Arrow
ABSTRACT
Produces an arrow mesh.
IMPORTANT ELEMENT
Arrows occur often enough that they are worth memorizing
PARAMETERS
start | either a 3-vector or a mesh-tree. In the case of the latter, an arrow is drawn a small buffer away from the mesh in the direction of the the ending vector |
end | either a 3-vector or a mesh-tree. In the case of the latter, a line is drawn a small buffer away from the mesh in the direction of the the start vector. Note that the arrow head points towards the end. |
start | either a 3-vector or a mesh-tree. In the case of the latter, an arrow is drawn a small buffer away from the mesh in the direction of the the ending vector |
end | either a 3-vector or a mesh-tree. In the case of the latter, a line is drawn a small buffer away from the mesh in the direction of the the start vector. Note that the arrow head points towards the end. |
normal | a 3-vector representing the normal of the mesh, defaults to {0,0,1} |
path_arc | if the arrow was to be embedded in the arc of a large circle, the path_arc dictates how many radians it would take. The default is zero. A negative number makes the arrow curve in the opposite direction. |
tag | a vector of numbers that is used as the mesh's tag |
default | an enum branch specifying to use the default coloring scheme, which is a white stroke with a white fill. Note that an uprank is 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
a mesh created according to the specifications
DECLARATION
func Arrow([config] {[main] {start, end}, [parameterized] {start, end, normal, path_arc}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})