intersectsWithVector2 method

bool intersectsWithVector2(
  1. Vector2 point
)
inherited

Return if this intersects with point.

Implementation

bool intersectsWithVector2(Vector2 point) =>
    min.x <= point.x && //
    min.y <= point.y &&
    max.x >= point.x &&
    max.y >= point.y;