containsBounds method

bool containsBounds(
  1. Bounds<T> b
)

Implementation

bool containsBounds(Bounds<T> b) {
  return (b.min.x >= min.x) &&
      (b.max.x <= max.x) &&
      (b.min.y >= min.y) &&
      (b.max.y <= max.y);
}