Curve:render

Returns a list of points on the Curve. The number of points can be specified to get a more or less detailed representation, and it is also possible to render a subsection of the Curve.

t = Curve:render(n, t1, t2)

Arguments

NameTypeDefaultDescription
nnumber32The number of points to use.
t1number0How far along the curve to start rendering.
t2number1How far along the curve to stop rendering.

Returns

NameTypeDescription
ttableA (flat) table of 3D points along the curve.

See also