The axis-aligned bounding box.
Constructor
Methods
inlinegetCenterTo(center:Vec3):Void
Sets center to the center of the AABB.
This does not create a new instance of Vec3.
inlinegetExtentsTo(halfExtents:Vec3):Void
Sets halfExtents to the half extents of the AABB.
This does not create a new instance of Vec3.
inlinegetIntersectionTo(other:Aabb, intersection:Aabb):Void
Sets intersection to the intersection of this and other.
This does not create a new instance of Aabb.
inlinegetMaxTo(max:Vec3):Void
Sets the maximum point of the axis-aligned bounding box to max.
This does not create a new instance of Vec3.
inlinegetMinTo(min:Vec3):Void
Sets the minimum point of the axis-aligned bounding box to min.
This does not create a new instance of Vec3.
inlineinit(min:Vec3, max:Vec3):Aabb
Sets the minimum and maximum point and returns this.
Equivallent to setMin(min).setMax(max).