setFromNormalAndCoplanarPoint method

Plane setFromNormalAndCoplanarPoint(
  1. Vector3 normal,
  2. Vector3 point
)

Implementation

Plane setFromNormalAndCoplanarPoint(Vector3 normal, Vector3 point) {
  this.normal.setFrom(normal);
  constant = -point.dot(this.normal).toDouble();

  return this;
}