QuadraticBezierCurve3 constructor
QuadraticBezierCurve3([
- Vector3? v0,
- Vector3? v1,
- Vector3? v2
v0
– The startpoint.
v1
– The control point.
v2
– The endpoint.
Implementation
QuadraticBezierCurve3([Vector3? v0, Vector3? v1, Vector3? v2]):super(){
this.v0 = v0 ?? Vector3.zero();
this.v1 = v1 ?? Vector3.zero();
this.v2 = v2 ?? Vector3.zero();
}