containsPoint method

bool containsPoint(
  1. Vector3 point
)

Implementation

bool containsPoint(Vector3 point) {
  var planes = this.planes;

  for (var i = 0; i < 6; i++) {
    if (planes[i].distanceToPoint(point) < 0) {
      return false;
    }
  }

  return true;
}