Circle

ABSTRACT

Produces a single circular mesh

IMPORTANT ELEMENT

Circles are used often enough to be worth memorizing

PARAMETERS
centera 3-vector representing the center of the circle
radiusa number representing the radius of the circle
centera 3-vector representing the center of the circle
radiusa number representing the radius of the circle
samplesthe amount of vertices to put in the circle
normala 3-vector representing the normal of the circle, defaults to {0,0,1}
taga vector of numbers that is used as the mesh's tag
defaultan enum branch specifying to use the default coloring scheme, which is a white stroke with no fill
strokea 4-vector representing the color of the stroke
strokea 4-vector representing the color of the stroke
filla 4-vector representing the color of the fill. Note that providing this value will force an uprank
RETURN

a mesh that contains a circle according to the specifications

DECLARATION
func Circle([config] {[main] {center, radius}, [parameterized] {center, radius, samples, normal}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})