struct

Flock::Collision::AABB3D

Inherits Struct < Value < Object

Axis-aligned bounding box (3D) for the broadphase.

Constructors

new(min : Flock::Vec3, max : Flock::Vec3)
Source
of(col : Collider3D, pos : Flock::Vec3, orientation : Flock::Quaternion) : AABB3D

Conservative world bounds for a collider at pos with orientation.

Source

Instance methods

intersects?(o : AABB3D) : Bool
Source
max=(max : Flock::Vec3)
Source
min=(min : Flock::Vec3)
Source