isPerpendicularTo method

bool isPerpendicularTo(
  1. Plane other
)

Checks if this Plane is perpendicular to other.

Returns true if the planes are perpendicular, and false otherwise.

Implementation

bool isPerpendicularTo(Plane other) {
  return normal.isPerpendicularTo(other.normal);
}