7 #ifndef CAFU_MDL_MODEL_LOADER_HPP_INCLUDED
8 #define CAFU_MDL_MODEL_LOADER_HPP_INCLUDED
21 LoaderMdlT(
const std::string& FileName,
int Flags=NONE);
30 bool Load(
unsigned int Level,
CafuModelT*& DlodModel,
float& DlodDist);
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:45
~LoaderMdlT()
The destructor.
Definition: Loader_mdl.cpp:47
The base class for importing arbitrary model files into Cafu models.
Definition: Loader.hpp:15
This class implements the MaterialManagerI interface.
Definition: MaterialManagerImpl.hpp:23
This class imports a HL1 (version 10) or a HL2 (version 48) model file into a new Cafu model...
Definition: Loader_mdl.hpp:14
void Postprocess(ArrayT< CafuModelT::MeshT > &Meshes)
Postprocesses the file data according to flags given to the constructor.
Definition: Loader_mdl.cpp:83
void Load(ArrayT< CafuModelT::JointT > &Joints, ArrayT< CafuModelT::MeshT > &Meshes, ArrayT< CafuModelT::AnimT > &Anims, MaterialManagerImplT &MaterialMan)
Actually loads the file data into the appropriate parts of the Cafu model.
Definition: Loader_mdl.cpp:53
LoaderMdlT(const std::string &FileName, int Flags=NONE)
The constructor for importing a HL1 (version 10) or a HL2 (version 48) model file into a new Cafu mod...
Definition: Loader_mdl.cpp:12