#include <Opcode.h>
Public Types | |
enum | ssv_type { SSV_PSS, SSV_LSS } |
Public Member Functions | |
inline_ | CollisionAABB () |
Constructor. | |
inline_ | CollisionAABB (const AABB &b) |
Constructor. | |
void | CreateSSV () |
inline_ void | GetMax (Point &max) const |
Get max point of the box. | |
inline_ float | GetMax (udword axis) const |
Get component of the box's max point along a given axis. | |
inline_ void | GetMin (Point &min) const |
Get min point of the box. | |
inline_ float | GetMin (udword axis) const |
Get component of the box's min point along a given axis. | |
inline_ BOOL | IsInside (const CollisionAABB &box) const |
inline_ void | SetMinMax (const Point &min, const Point &max) |
inline_ | ~CollisionAABB () |
Destructor. | |
Public Attributes | |
Point | mCenter |
Box center. | |
Point | mExtents |
Box extents. | |
Point | mPoint0 |
Point | mPoint1 |
End points of line segment. | |
float | mRadius |
ssv_type | mType |
Type of SSV. |
inline_ Opcode::CollisionAABB::CollisionAABB | ( | ) | [inline] |
inline_ Opcode::CollisionAABB::CollisionAABB | ( | const AABB & | b | ) | [inline] |
inline_ Opcode::CollisionAABB::~CollisionAABB | ( | ) | [inline] |
void Opcode::CollisionAABB::CreateSSV | ( | ) | [inline] |
inline_ void Opcode::CollisionAABB::GetMax | ( | Point & | max | ) | const [inline] |
inline_ float Opcode::CollisionAABB::GetMax | ( | udword | axis | ) | const [inline] |
inline_ void Opcode::CollisionAABB::GetMin | ( | Point & | min | ) | const [inline] |
inline_ float Opcode::CollisionAABB::GetMin | ( | udword | axis | ) | const [inline] |
inline_ BOOL Opcode::CollisionAABB::IsInside | ( | const CollisionAABB & | box | ) | const [inline] |