containsPoint method

bool containsPoint(
  1. Vector2 point
)

Implementation

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