#include <AABB.h>
Detailed Description
Definition at line 19 of file AABB.h.
Constructor & Destructor Documentation
kge::math::AABB::AABB |
( |
| ) |
|
kge::math::AABB::AABB |
( |
const Vector & |
init | ) |
|
kge::math::AABB::AABB |
( |
const AABB & |
init | ) |
|
kge::math::AABB::~AABB |
( |
| ) |
|
Member Function Documentation
void kge::math::AABB::AddAABB |
( |
const AABB * |
bb | ) |
|
void kge::math::AABB::AddInternalPoint |
( |
gfx::Vertex3 * |
point | ) |
|
Adds a point to bounding box.
void kge::math::AABB::AddInternalPoint |
( |
Vector * |
point | ) |
|
void kge::math::AABB::AddInternalPoint |
( |
const Vector & |
point | ) |
|
void kge::math::AABB::AddY |
( |
float |
y | ) |
|
void kge::math::AABB::CreateIndices |
( |
| ) |
|
void kge::math::AABB::DebugRender |
( |
| ) |
|
Vector kge::math::AABB::GetCenter |
( |
| ) |
|
int kge::math::AABB::getType |
( |
void |
| ) |
const |
|
inlinevirtual |
bool kge::math::AABB::Inside |
( |
const math::Vector & |
point | ) |
const |
Returns true if point is inside the box.
bool kge::math::AABB::Intersect |
( |
const AABB & |
box | ) |
const |
Returns true if two boxes are intersecting.
bool kge::math::AABB::IntersectRay |
( |
Ray * |
pRay | ) |
|
|
inline |
Returns true if the ray and box collide.
void kge::math::AABB::Repair |
( |
| ) |
|
Checks for swap min and max.
void kge::math::AABB::Reset |
( |
| ) |
|
void kge::math::AABB::ResetY |
( |
| ) |
|
void kge::math::AABB::UpdateLines |
( |
| ) |
|
Member Data Documentation
u16 kge::math::AABB::i[24] |
bool kge::math::AABB::m_bFirst |
int kge::math::AABB::m_iType |
|
protected |
Vector kge::math::AABB::m_vMax |
Vector kge::math::AABB::m_vMin |
Min and max vectors.
Definition at line 79 of file AABB.h.
The documentation for this class was generated from the following file:
- E:/mycodes/git/kge/Include/math/AABB.h