![]() |
Public API Reference |
#include <obb.h>
Public Methods | |
void | Copy (const csOBB &obb) |
Copy a normal OBB and freeze the corners. More... | |
csOBBFrozen (const csOBB &obb) | |
Create a frozen OBB from a normal OBB. More... | |
csOBBFrozen (const csOBB &obb, const csReversibleTransform &trans) | |
Create a frozen OBB from a normal OBB. More... | |
const csVector3 & | GetCorner (int corner) const |
Get one corner from the OBB. More... | |
bool | ProjectOBB (float fov, float sx, float sy, csBox2 &sbox, float &min_z, float &max_z) |
Project this OBB to a 2D screen space box. More... |
Definition at line 102 of file obb.h.
|
Create a frozen OBB from a normal OBB.
Definition at line 122 of file obb.h. References Copy. |
|
Create a frozen OBB from a normal OBB. The given transform is applied to the vertices AFTER the matrix of the obb is applied (using Other2This). |
|
Copy a normal OBB and freeze the corners.
Definition at line 111 of file obb.h. References csOBB::GetCorner. Referenced by csOBBFrozen. |
|
Get one corner from the OBB.
|
|
Project this OBB to a 2D screen space box. Returns false if OBB is not on screen. |