Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Protected Attributes | |
Segment | mSeg |
Segment. More... | |
float | mRadius2 |
LSS radius squared. 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... | |
LSSCollider::LSSCollider | ( | ) |
Constructor.
Definition at line 60 of file OPC_LSSCollider.cpp.
|
virtual |
|
protected |
Recursive collision query for normal AABB trees.
node | [in] current collision node |
Definition at line 344 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for no-leaf AABB trees.
node | [in] current collision node |
Definition at line 462 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for quantized AABB trees.
node | [in] current collision node |
Definition at line 398 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for quantized no-leaf AABB trees.
node | [in] current collision node |
Definition at line 506 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for vanilla AABB trees.
node | [in] current collision node |
Definition at line 560 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for normal AABB trees, without primitive tests.
node | [in] current collision node |
Definition at line 371 of file OPC_LSSCollider.cpp.
Referenced by Opcode::HybridLSSCollider::Collide().
|
protected |
Recursive collision query for no-leaf AABB trees, without primitive tests.
node | [in] current collision node |
Definition at line 484 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for quantized AABB trees, without primitive tests.
node | [in] current collision node |
Definition at line 430 of file OPC_LSSCollider.cpp.
|
protected |
Recursive collision query for quantized no-leaf AABB trees, without primitive tests.
node | [in] current collision node |
Definition at line 533 of file OPC_LSSCollider.cpp.
bool LSSCollider::Collide | ( | LSSCache & | cache, |
const LSS & | lss, | ||
const Model & | model, | ||
const Matrix4x4 * | worldl = null , |
||
const Matrix4x4 * | worldm = null |
||
) |
Generic collision query for generic OPCODE models. After the call, access the results:
cache | [in/out] an lss cache |
lss | [in] collision lss in local space |
model | [in] Opcode model to collide with |
worldl | [in] lss world matrix, or null |
worldm | [in] model's world matrix, or null |
Definition at line 91 of file OPC_LSSCollider.cpp.
Collision query for vanilla AABB trees.
cache | [in/out] an lss cache |
lss | [in] collision lss in world space |
tree | [in] AABB tree |
Definition at line 296 of file OPC_LSSCollider.cpp.
|
protected |
Initializes a collision query :
cache | [in/out] an lss cache |
lss | [in] lss in local space |
worldl | [in] lss world matrix, or null |
worldm | [in] model's world matrix, or null |
Definition at line 164 of file OPC_LSSCollider.cpp.
|
protected |
Checks the LSS completely contains the box. In which case we can end the query sooner.
bc | [in] box center |
be | [in] box extents |
Definition at line 323 of file OPC_LSSCollider.cpp.
|
protected |
|
protected |