Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Public Member Functions | |
Model () | |
virtual | ~Model () |
override (BaseModel) bool Build(const OPCODECREATE &create) | |
override (BaseModel) udword GetUsedBytes() 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... | |
Model::Model | ( | ) |
|
virtual |
Opcode::Model::override | ( | BaseModel | ) | const |
Builds a collision model.
create | [in] model creation structure |
Opcode::Model::override | ( | BaseModel | ) | const |
Gets the number of bytes used by the tree.