Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Protected Attributes | |
Container | mTouchedBoxes |
![]() | |
Matrix3x3 | mAR |
Absolute rotation matrix. More... | |
Matrix3x3 | mRModelToBox |
Rotation from model space to obb space. More... | |
Matrix3x3 | mRBoxToModel |
Rotation from obb space to model space. More... | |
Point | mTModelToBox |
Translation from model space to obb space. More... | |
Point | mTBoxToModel |
Translation from obb space to model space. More... | |
Point | mBoxExtents |
Point | mB0 |
Point | mB1 |
float | mBBx1 |
float | mBBy1 |
float | mBBz1 |
float | mBB_1 |
float | mBB_2 |
float | mBB_3 |
float | mBB_4 |
float | mBB_5 |
float | mBB_6 |
float | mBB_7 |
float | mBB_8 |
float | mBB_9 |
Point | mLeafVerts [3] |
Triangle vertices. More... | |
bool | mFullBoxBoxTest |
Perform full BV-BV tests (true) or SAT-lite tests (false) 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 | _CollideNoPrimitiveTest (const AABBCollisionNode *node) |
void | _CollideNoPrimitiveTest (const AABBNoLeafNode *node) |
void | _CollideNoPrimitiveTest (const AABBQuantizedNode *node) |
void | _CollideNoPrimitiveTest (const AABBQuantizedNoLeafNode *node) |
inline_ bool | OBBContainsBox (const Point &bc, const Point &be) |
inline_ bool | BoxBoxOverlap (const Point &extents, const Point ¢er) |
inline_ bool | TriBoxOverlap () |
bool | InitQuery (OBBCache &cache, const OBB &box, const Matrix4x4 *worldb=null, const Matrix4x4 *worldm=null) |
HybridOBBCollider::HybridOBBCollider | ( | ) |
|
virtual |
bool HybridOBBCollider::Collide | ( | OBBCache & | cache, |
const OBB & | box, | ||
const HybridModel & | model, | ||
const Matrix4x4 * | worldb = null , |
||
const Matrix4x4 * | worldm = null |
||
) |
Definition at line 645 of file OPC_OBBCollider.cpp.
References Opcode::OBBCollider::_CollideNoPrimitiveTest(), 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, OBB_PRIM, Opcode::OPC_CONTACT, Opcode::OPC_NO_PRIMITIVE_TESTS, Container::Reset(), Opcode::Collider::Setup(), and Opcode::VolumeCache::TouchedPrimitives.
|
protected |