AABB

Axis-aligned bounding box

Constructors

this
this(Vector3f newPosition, Vector3f newSize)
Undocumented in source.

Members

Functions

closestPoint
Vector3f closestPoint(Vector3f point)
Undocumented in source. Be warned that the author may not have intended to support it.
containsPoint
bool containsPoint(Vector3f point)
Undocumented in source. Be warned that the author may not have intended to support it.
intersectsAABB
bool intersectsAABB(AABB b)
Undocumented in source. Be warned that the author may not have intended to support it.
intersectsSegment
bool intersectsSegment(Vector3f segStart, Vector3f segEnd, float intersectionTime)
Undocumented in source. Be warned that the author may not have intended to support it.
intersectsSphere
bool intersectsSphere(Sphere sphere, Vector3f collisionNormal, float penetrationDepth)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bottomHeight
float bottomHeight [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
topHeight
float topHeight [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

center
Vector3f center;
pmax
Vector3f pmax;
Undocumented in source.
pmin
Vector3f pmin;
Undocumented in source.
size
Vector3f size;
Undocumented in source.

Meta