Sword Engine

Class: BezierCurveForPoints

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
t number

the time value between 0 and 1

Returns:
Deprecated:
  • Yes
Made By Vedik Dev - Himanshu Jangid
sword-engine Copyright © 2021 Himanshu.
Documentation generated by JSDoc 3.6.7 on Tue Nov 30 2021 23:12:55 GMT+0530 (India Standard Time) using the TSDoc template.