C new BezierCurveForPoints( points: Array.<Vector> ) → {void}
A bezier curve class
Parameters:
| Name | Type | Description |
|---|---|---|
points |
Array.<Vector> | an array of points |
- Deprecated:
- Yes
Methods
-
S M draw The function that draws the bezier curve on the canvas in every frame( )
-
-
S M getPoint( t: number ) → { Vector }
-
Parameters:
Name Type Description tnumber the time value between 0 and 1
- Deprecated:
- Yes