#include <KeosMD2Loader.h>
Inheritance diagram for Keos::CMD2Loader:

Public Member Functions | |
| virtual CMesh * | LoadFromFile (const String &strFilename) |
| Load a mesh from a file. | |
Classes | |
| struct | TFrame |
| struct | THeader |
| MD2 Header. | |
| struct | TPoint |
| Struct for the vertices that are read in for the current frame. | |
| struct | TTexCoord |
| This stores UV coordinates. | |
| struct | TTexture |
| struct | TTriangle |
| This stores the indices into the vertex and texture coordinate arrays. | |
Definition at line 33 of file KeosMD2Loader.h.
Load a mesh from a file.
| strFilename | Name of the file to be loaded. |
Reimplemented from Keos::ILoader< T >.
Definition at line 33 of file KeosMD2Loader.cpp.
References Keos::CMesh::AddMaterial(), Keos::CMesh::AddMeshGeom(), Keos::CMaterial::CreateTexture(), int(), LOADINGFAILED_EXCEPT, Keos::ILogger::Log(), Renderer, and Keos::CColor::White.
1.5.1-p1