LineCurve constructor

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

Implementation

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

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