The center of the axis aligned bounding box (x,y and z in this order).
The half extent on each axis (x,y and z in this order).
Clamps the given AABB with the given limit AABB.
If the boxes intersect, then the result is the intersection of the 2 boxes. If the 2 boxes do not intersect, then the AABB is restricted to the intersection of each axis in each direction. The result is therefore not the intersection of the two boxes, but the union of the intersection in each axis. If there is no intersection in this axis, the extent in this axis is left unchanged.
true if pLimitAABB is valid.
Grows the AABB to contain the box defined by Min : (pMinX,pMinY,pMinZ), Max : (pMaxX,pMaxY,pMaxZ).
There is no check that pMinX <= pMaxX, pMinY <= pMaxY, pMinZ <= pMaxZ.
false is the pMax is lower than pMin else true.
Transforms the given AABB by multiplying all the extent points of the given AABB, and stores the AABB that contains this Oriented Bounding Box (OBB).
If pOut is omitted, then the resulting AABB is stored in "this".
The transformed AABB pOut.
Tells where the box is located relative to the plane defined by the equation pPlane : (ax+by+cz=d).
The positive side is given by the normal vector of the plane : (a,b,c) which are the three first parameters of pPlane. If the box is strictly included in the area of the normal, then 1 is returned, if the box is strictly included in the area opposite to the normal of the plane, -1 is returned. If the box intersects the plan, 0 is returned.
1 on positive side, -1 on negative side, 0 if it intersects the plane.
An axis aligned Bounding Box.
This object contains a center and the half extent of the resulting box.