LineCurve constructor

LineCurve(
  1. Vector2 v1,
  2. Vector2 v2
)

Implementation

LineCurve(Vector2 v1, Vector2 v2) {
  type = 'LineCurve';
  isLineCurve = true;

  this.v1 = v1;
  this.v2 = v2;
}