Triangle.init constructor

Triangle.init({
  1. Vector3? a,
  2. Vector3? b,
  3. Vector3? c,
})

Implementation

Triangle.init({Vector3? a, Vector3? b, Vector3? c}) {
  this.a = (a != null) ? a : Vector3();
  this.b = (b != null) ? b : Vector3();
  this.c = (c != null) ? c : Vector3();
}