Plane constructor

Plane([
  1. Vector3? normal,
  2. double? constant
])

Implementation

Plane([Vector3? normal, double? constant]) {
  // normal is assumed to be normalized

  this.normal = (normal != null) ? normal : Vector3(1, 0, 0);
  this.constant = (constant != null) ? constant : 0;
}