Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <OPC_LSSCollider.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... | |
Contains a lss-vs-tree collider.
Definition at line 39 of file OPC_LSSCollider.h.
LSSCollider::LSSCollider | ( | ) |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
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 |
|
protected |
Definition at line 514 of file OPC_LSSAABBOverlap.h.
References FALSE, VolumeCollider::mNbVolumeBVTests, mRadius2, mSeg, OPC_SegmentOBBSqrDist(), and TRUE.
|
protected |
Definition at line 671 of file OPC_LSSTriOverlap.h.
References FALSE, VolumeCollider::mNbVolumePrimTests, mRadius2, mSeg, OPC_SegmentTriangleSqrDist(), and TRUE.
|
protected |
LSS radius squared.
Definition at line 68 of file OPC_LSSCollider.h.
Referenced by LSSAABBOverlap(), and LSSTriOverlap().
|
protected |
Definition at line 67 of file OPC_LSSCollider.h.
Referenced by LSSAABBOverlap(), and LSSTriOverlap().