Aabb2d
Aabb2d
- min : glam::Vec2
- max : glam::Vec2
Description
A 2D axis-aligned bounding box, or bounding rectangle
Functions
Function | Summary |
---|---|
bounding_circle(_self) | Computes the smallest [`BoundingCircle`] containing this [`Aabb2d`]. |
clone(_self) | No Documentation 🚧 |
closest_point(_self, point) | Finds the point on the AABB that is closest to the given `point`. If the point is outside the AABB |
new(center, half_size) | Constructs an AABB from its center and half-size. |