GLUS
|
Go to the source code of this file.
Functions | |
GLUSvoid GLUSAPIENTRY | glusOrientedBoxCopyf (GLUSfloat resultCenter[4], GLUSfloat resultHalfExtend[3], GLUSfloat resultOrientation[3], const GLUSfloat center[4], const GLUSfloat halfExtend[3], const GLUSfloat orientation[3]) |
Copies an oriented box. More... | |
GLUSfloat GLUSAPIENTRY | glusOrientedBoxDistancePoint4f (const GLUSfloat center[4], const GLUSfloat halfExtend[3], const GLUSfloat orientation[3], const GLUSfloat point[4]) |
Calculates the signed distance from an oriented box to a point. More... | |
GLUSvoid GLUSAPIENTRY glusOrientedBoxCopyf | ( | GLUSfloat | resultCenter[4], |
GLUSfloat | resultHalfExtend[3], | ||
GLUSfloat | resultOrientation[3], | ||
const GLUSfloat | center[4], | ||
const GLUSfloat | halfExtend[3], | ||
const GLUSfloat | orientation[3] | ||
) |
Copies an oriented box.
resultCenter | Destination center. |
resultHalfExtend | Destination half extend. |
resultOrientation | Destination orientation. |
center | Source center. |
halfExtend | Source half extend. |
orientation | Source orientation. |
GLUSfloat GLUSAPIENTRY glusOrientedBoxDistancePoint4f | ( | const GLUSfloat | center[4], |
const GLUSfloat | halfExtend[3], | ||
const GLUSfloat | orientation[3], | ||
const GLUSfloat | point[4] | ||
) |
Calculates the signed distance from an oriented 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. |
orientation | The orientation of the box. |
point | The used point. |