CatmullRomCurve3 constructor
CatmullRomCurve3({
- dynamic points,
- dynamic closed = false,
- dynamic curveType = 'centripetal',
- dynamic tension = 0.5,
Implementation
CatmullRomCurve3(
{points, closed = false, curveType = 'centripetal', tension = 0.5})
: super() {
this.points = points ?? [];
this.closed = closed;
this.curveType = curveType;
this.tension = tension;
}