TrinityCore
Loading...
Searching...
No Matches
Model Class Reference

#include <model.h>

Public Member Functions

bool open ()
 
bool ConvertToVMAPModel (char const *outfilename)
 
 Model (std::string &filename)
 
 ~Model ()
 

Public Attributes

ModelHeader header
 
Vec3D * vertices
 
uint32 * indices
 
AaBox3D bounds
 

Private Member Functions

void _unload ()
 

Private Attributes

std::string filename
 

Detailed Description

Definition at line 33 of file model.h.

Constructor & Destructor Documentation

◆ Model()

Model::Model ( std::string &  filename)

Definition at line 33 of file model.cpp.

◆ ~Model()

Model::~Model ( )
inline

Definition at line 54 of file model.h.

References _unload().

Member Function Documentation

◆ _unload()

void Model::_unload ( )
inlineprivate

Definition at line 36 of file model.h.

References indices, and vertices.

Referenced by open(), and ~Model().

◆ ConvertToVMAPModel()

bool Model::ConvertToVMAPModel ( char const *  outfilename)

◆ open()

Member Data Documentation

◆ bounds

AaBox3D Model::bounds

Definition at line 48 of file model.h.

Referenced by ConvertToVMAPModel(), and open().

◆ filename

std::string Model::filename
private

Definition at line 43 of file model.h.

Referenced by open().

◆ header

ModelHeader Model::header

Definition at line 45 of file model.h.

Referenced by ConvertToVMAPModel(), and open().

◆ indices

uint32* Model::indices

Definition at line 47 of file model.h.

Referenced by _unload(), ConvertToVMAPModel(), and open().

◆ vertices

Vec3D* Model::vertices

Definition at line 46 of file model.h.

Referenced by _unload(), ConvertToVMAPModel(), and open().


The documentation for this class was generated from the following files: