GLUS
|
Go to the source code of this file.
Functions | |
GLUSAPI GLUSvoid GLUSAPIENTRY | glusAxisAlignedBoxCopyf (GLUSfloat resultCenter[4], GLUSfloat resultHalfExtend[3], const GLUSfloat center[4], const GLUSfloat halfExtend[3]) |
Copies an axis aligned box. More... | |
GLUSAPI GLUSfloat GLUSAPIENTRY | glusAxisAlignedBoxDistancePoint4f (const GLUSfloat center[4], const GLUSfloat halfExtend[3], const GLUSfloat point[4]) |
Calculates the signed distance from an axis aligned box to a point. More... | |
GLUSAPI GLUSvoid GLUSAPIENTRY glusAxisAlignedBoxCopyf | ( | GLUSfloat | resultCenter[4], |
GLUSfloat | resultHalfExtend[3], | ||
const GLUSfloat | center[4], | ||
const GLUSfloat | halfExtend[3] | ||
) |
Copies an axis aligned box.
resultCenter | Destination center. |
resultHalfExtend | Destination half extend. |
center | Source center. |
halfExtend | Source half extend. |
GLUSAPI GLUSfloat GLUSAPIENTRY glusAxisAlignedBoxDistancePoint4f | ( | const GLUSfloat | center[4], |
const GLUSfloat | halfExtend[3], | ||
const GLUSfloat | point[4] | ||
) |
Calculates the signed distance from an axis aligned box to a point.
If the value is negative, the point is inside the box.
center | The center of the box. |
halfExtend | The length from the center point to the planes of the box. |
point | The used point. |