BezierCurve

A class that represents a Bezier Curve Supposedly the most visually appealing curves Needs a lot of complicated math; this class doesn't have much functionality other than what one might need to draw it

Constructors

this
this(Vector!(T, dimensions)[] cPoints...)

Creates a bezier curve given a list of control points

Members

Functions

getPoints
Vector!(T, dimensions)[numPoints] getPoints()

Gets numPoints amount of points that are on the bezier curve evenly spaced from the beginning point to the end point (t 0 => 1)

Variables

controlPoints
Vector!(T, dimensions)[] controlPoints;

The points that control the path of the curve; usually don't actually exist on curve

Meta