Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Public Member Functions | |
HybridModel () | |
virtual | ~HybridModel () |
override (BaseModel) bool Build(const OPCODECREATE &create) | |
override (BaseModel) udword GetUsedBytes() const | |
override (BaseModel) bool Refit() | |
inline_ const LeafTriangles * | GetLeafTriangles () const |
inline_ const udword * | GetIndices () const |
![]() | |
BaseModel () | |
virtual | ~BaseModel () |
virtual bool | Build (const OPCODECREATE &create)=0 |
virtual udword | GetUsedBytes () const =0 |
virtual bool | Refit () |
inline_ const AABBTree * | GetSourceTree () const |
inline_ const AABBOptimizedTree * | GetTree () const |
inline_ AABBOptimizedTree * | GetTree () |
inline_ udword | GetNbNodes () const |
inline_ BOOL | HasLeafNodes () const |
inline_ BOOL | IsQuantized () const |
inline_ BOOL | HasSingleNode () const |
inline_ udword | GetModelCode () const |
inline_ const MeshInterface * | GetMeshInterface () const |
inline_ void | SetMeshInterface (const MeshInterface *imesh) |
Additional Inherited Members | |
![]() | |
void | ReleaseBase () |
bool | CreateTree (bool no_leaf, bool quantized) |
![]() | |
const MeshInterface * | mIMesh |
User-defined mesh interface. More... | |
udword | mModelCode |
Model code = combination of ModelFlag(s) More... | |
AABBTree * | mSource |
Original source tree. More... | |
AABBOptimizedTree * | mTree |
Optimized tree owned by the model. More... | |
HybridModel::HybridModel | ( | ) |
Constructor.
Definition at line 96 of file OPC_HybridModel.cpp.
|
virtual |
Gets array of indices.
Definition at line 95 of file Opcode.h.
Referenced by Opcode::HybridSphereCollider::Collide(), Opcode::HybridAABBCollider::Collide(), Opcode::HybridLSSCollider::Collide(), Opcode::HybridPlanesCollider::Collide(), and Opcode::HybridOBBCollider::Collide().
|
inline |
Gets array of triangles.
Definition at line 87 of file Opcode.h.
Referenced by Opcode::HybridSphereCollider::Collide(), Opcode::HybridAABBCollider::Collide(), Opcode::HybridLSSCollider::Collide(), Opcode::HybridPlanesCollider::Collide(), and Opcode::HybridOBBCollider::Collide().
Opcode::HybridModel::override | ( | BaseModel | ) | const |
Builds a collision model.
create | [in] model creation structure |
Opcode::HybridModel::override | ( | BaseModel | ) | const |
Gets the number of bytes used by the tree.
Opcode::HybridModel::override | ( | BaseModel | ) |
Refits the collision model. This can be used to handle dynamic meshes. Usage is: