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.init();
  this.b = (b != null) ? b : Vector3.init();
  this.c = (c != null) ? c : Vector3.init();
}