Utilities for performing math with bezier curves.
Static methods
staticbezier2(p:Float, a:FlxPoint, b:FlxPoint):FlxPoint
A bezier curve with two points. This is really just linear interpolation but whatever.
staticbezier3(p:Float, a:FlxPoint, b:FlxPoint, c:FlxPoint):FlxPoint
A bezier curve with three points.
Parameters:
p | The percentage of the way through the curve. |
|---|---|
a | The start point. |
b | The control point. |
c | The end point. |