Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Protected Attributes | |
Container | mTouchedBoxes |
![]() | |
CollisionAABB | mBox |
Query box in (center, extents) form. More... | |
Point | mMin |
Query box min point. More... | |
Point | mMax |
Query box max point. More... | |
Point | mLeafVerts [3] |
Triangle vertices. More... | |
![]() | |
Container * | mTouchedPrimitives |
List of touched primitives. More... | |
Point | mCenterCoeff |
Point | mExtentsCoeff |
udword | mNbVolumeBVTests |
Number of Volume-BV tests. More... | |
udword | mNbVolumePrimTests |
Number of Volume-Primitive tests. More... | |
![]() | |
udword | mFlags |
Bit flags. More... | |
const BaseModel * | mCurrentModel |
Current model for collision query (owner of touched faces) More... | |
const MeshInterface * | mIMesh |
User-defined mesh interface. More... | |
Additional Inherited Members | |
![]() | |
void | _Collide (const AABBCollisionNode *node) |
void | _Collide (const AABBNoLeafNode *node) |
void | _Collide (const AABBQuantizedNode *node) |
void | _Collide (const AABBQuantizedNoLeafNode *node) |
void | _Collide (const AABBTreeNode *node) |
void | _CollideNoPrimitiveTest (const AABBCollisionNode *node) |
void | _CollideNoPrimitiveTest (const AABBNoLeafNode *node) |
void | _CollideNoPrimitiveTest (const AABBQuantizedNode *node) |
void | _CollideNoPrimitiveTest (const AABBQuantizedNoLeafNode *node) |
inline_ bool | AABBContainsBox (const Point &bc, const Point &be) |
inline_ bool | AABBAABBOverlap (const Point &b, const Point &Pb) |
inline_ bool | TriBoxOverlap () |
bool | InitQuery (AABBCache &cache, const CollisionAABB &box) |
HybridAABBCollider::HybridAABBCollider | ( | ) |
|
virtual |
bool HybridAABBCollider::Collide | ( | AABBCache & | cache, |
const CollisionAABB & | box, | ||
const HybridModel & | model | ||
) |
Definition at line 574 of file OPC_AABBCollider.cpp.
References Opcode::AABBCollider::_CollideNoPrimitiveTest(), AABB_PRIM, Opcode::Collider::GetContactStatus(), Opcode::HybridModel::GetIndices(), Opcode::HybridModel::GetLeafTriangles(), Container::GetNbEntries(), Opcode::LeafTriangles::GetNbTriangles(), Opcode::MeshInterface::GetNbTriangles(), Opcode::BaseModel::GetTree(), Opcode::LeafTriangles::GetTriangleIndex(), Opcode::BaseModel::HasLeafNodes(), Opcode::BaseModel::HasSingleNode(), i, Opcode::Collider::InitQuery(), Opcode::BaseModel::IsQuantized(), Opcode::VolumeCollider::mCenterCoeff, Opcode::AABBQuantizedTree::mCenterCoeff, Opcode::AABBQuantizedNoLeafTree::mCenterCoeff, Opcode::Collider::mCurrentModel, Opcode::VolumeCollider::mExtentsCoeff, Opcode::AABBQuantizedTree::mExtentsCoeff, Opcode::AABBQuantizedNoLeafTree::mExtentsCoeff, Opcode::Collider::mFlags, Opcode::Collider::mIMesh, Opcode::VolumeCollider::mTouchedPrimitives, Opcode::OPC_CONTACT, Opcode::OPC_NO_PRIMITIVE_TESTS, Container::Reset(), Opcode::Collider::Setup(), and Opcode::VolumeCache::TouchedPrimitives.
|
protected |