intersectsWithVector3 method

bool intersectsWithVector3 (
  1. Vector3 other
)

Return if this intersects with other.

Implementation

bool intersectsWithVector3(Vector3 other) =>
    (_min.x <= other.x) &&
    (_min.y <= other.y) &&
    (_min.z <= other.z) &&
    (_max.x >= other.x) &&
    (_max.y >= other.y) &&
    (_max.z >= other.z);