Data Structures | |
| struct | orxAABOX |
Functions | |
| static orxINLINE orxAABOX * | orxAABox_Copy (orxAABOX *_pstDst, const orxAABOX *_pstSrc) |
| static orxINLINE orxVECTOR * | orxAABox_GetCenter (const orxAABOX *_pstOp, orxVECTOR *_pvRes) |
| static orxINLINE orxBOOL | orxAABox_IsInside (const orxAABOX *_pstBox, const orxVECTOR *_pvPosition) |
| static orxINLINE orxAABOX * | orxAABox_Move (orxAABOX *_pstRes, const orxAABOX *_pstOp, const orxVECTOR *_pvMove) |
| static orxINLINE orxAABOX * | orxAABox_Reorder (orxAABOX *_pstBox) |
| static orxINLINE orxAABOX * | orxAABox_Set (orxAABOX *_pstRes, const orxVECTOR *_pvTL, const orxVECTOR *_pvBR) |
| static orxINLINE orxBOOL | orxAABox_Test2DIntersection (const orxAABOX *_pstBox1, const orxAABOX *_pstBox2) |
| static orxINLINE orxBOOL | orxAABox_TestIntersection (const orxAABOX *_pstBox1, const orxAABOX *_pstBox2) |
Axis-aligned box module Module that handles axis-aligned boxes
Copies an AABox onto another one
| [out] | _pstDst | AABox to copy to (destination) |
| [in] | _pstSrc | AABox to copy from (destination) |
Definition at line 241 of file orxAABox.h.
| static orxINLINE orxVECTOR* orxAABox_GetCenter | ( | const orxAABOX * | _pstOp, |
| orxVECTOR * | _pvRes | ||
| ) | [static] |
Gets AABox center position
| [in] | _pstOp | Concerned AABox |
| [out] | _pvRes | Center position |
Definition at line 280 of file orxAABox.h.
| static orxINLINE orxBOOL orxAABox_IsInside | ( | const orxAABOX * | _pstBox, |
| const orxVECTOR * | _pvPosition | ||
| ) | [static] |
Is position inside axis aligned box test
| [in] | _pstBox | Box to test against position |
| [in] | _pvPosition | Position to test against the box |
Definition at line 141 of file orxAABox.h.
| static orxINLINE orxAABOX* orxAABox_Move | ( | orxAABOX * | _pstRes, |
| const orxAABOX * | _pstOp, | ||
| const orxVECTOR * | _pvMove | ||
| ) | [static] |
Moves an AABox
| [out] | _pstRes | AABox where to store result |
| [in] | _pstOp | AABox to move |
| [in] | _pvMove | Move vector |
Definition at line 260 of file orxAABox.h.
Reorders AABox corners
| [in] | _pstBox | Box to reorder |
Definition at line 68 of file orxAABox.h.
| static orxINLINE orxAABOX* orxAABox_Set | ( | orxAABOX * | _pstRes, |
| const orxVECTOR * | _pvTL, | ||
| const orxVECTOR * | _pvBR | ||
| ) | [static] |
Sets axis aligned box values
| [out] | _pstRes | AABox to set |
| [in] | _pvTL | Top left corner |
| [in] | _pvBR | Bottom right corner |
Definition at line 118 of file orxAABox.h.
| static orxINLINE orxBOOL orxAABox_Test2DIntersection | ( | const orxAABOX * | _pstBox1, |
| const orxAABOX * | _pstBox2 | ||
| ) | [static] |
Tests axis aligned box 2D intersection (no Z-axis test)
| [in] | _pstBox1 | First box operand |
| [in] | _pstBox2 | Second box operand |
Definition at line 211 of file orxAABox.h.
| static orxINLINE orxBOOL orxAABox_TestIntersection | ( | const orxAABOX * | _pstBox1, |
| const orxAABOX * | _pstBox2 | ||
| ) | [static] |
Tests axis aligned box intersection
| [in] | _pstBox1 | First box operand |
| [in] | _pstBox2 | Second box operand |
Definition at line 176 of file orxAABox.h.
1.5.6