containsVector2 method

bool containsVector2(
  1. Vector2 other
)

Return if this contains other.

Implementation

bool containsVector2(Vector2 other) =>
    (_min.x < other.x) && (_min.y < other.y) && (_max.x > other.x) && (_max.y > other.y);