Flock::Collision::AABB2D
Axis-aligned bounding box, used by the broadphase. Cheap overlap test.
Constructors
new(min : Flock::Vec2, max : Flock::Vec2)
Sourceof(col : Collider2D, tf : Flock::Transform2D) : AABB2D
World-space bounds of a collider at the given transform. For rotated boxes and capsules this is a conservative (rotation-aware) box around the shape.
Instance methods
max
Sourcemax=(max : Flock::Vec2)
Sourcemin
Sourcemin=(min : Flock::Vec2)
Source