le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
Load 3D meshes in Wavefront object format. More...
#include <objfile.h>
Public Member Functions | |
LeObjFile (const char *filename) | |
~LeObjFile () | |
int | getNoMeshes () |
Get the number of meshes in the file. More... | |
const char * | getMeshName (int index) |
Get the name of the mesh of the given index. More... | |
LeMesh * | load (int index) |
Load the mesh of the given index from the file. More... | |
void | save (const LeMesh *mesh) |
Load the mesh of the given index from the file. More... | |
Load 3D meshes in Wavefront object format.
LeObjFile::LeObjFile | ( | const char * | filename | ) |
LeObjFile::~LeObjFile | ( | ) |
const char * LeObjFile::getMeshName | ( | int | index | ) |
Get the name of the mesh of the given index.
int LeObjFile::getNoMeshes | ( | ) |
Get the number of meshes in the file.
LeMesh * LeObjFile::load | ( | int | index | ) |
Load the mesh of the given index from the file.
void LeObjFile::save | ( | const LeMesh * | mesh | ) |
Load the mesh of the given index from the file.