containsPoint method

bool containsPoint(
  1. Vector3 point
)

Implementation

bool containsPoint(Vector3 point) {
  return point.x < min.x ||
          point.x > max.x ||
          point.y < min.y ||
          point.y > max.y ||
          point.z < min.z ||
          point.z > max.z
      ? false
      : true;
}