bezier

A cubic Bézier curve.

Signatures

  • bezier( vector p1, vector p2, vector p3 )

Details

This curve segments adds a cubic Bézier curve to the curve. The curve is defined by the four points p0, p1, p2 and p3, where p0 is the former terminal point of the curve.

Parameters

p1

Second control point of the Bézier curve.

p2

Third control point of the Bézier curve.

p3

Fourth control point of the Bézier curve. This is the terminal point.

See also