Triangle constructor

Triangle([
  1. Vector3? a,
  2. Vector3? b,
  3. Vector3? c
])

Implementation

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