containsVector3 method

bool containsVector3(
  1. Vector3 other
)

Return if this contains other.

Implementation

bool containsVector3(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);