LineCurve3 constructor

LineCurve3([
  1. Vector3? v1,
  2. Vector3? v2
])

v1 – The start point.

v2 - The end point.

Implementation

LineCurve3([Vector3? v1,Vector3? v2]):super(){
  isLineCurve3 = true;

  this.v1 = v1 ?? Vector3.zero();
  this.v2 = v2 ?? Vector3.zero();
}