# D:/CHAI3D/build-2-0-0/2.0.0/win32/src/files/CMeshLoader.h File Reference

Files
General Mesh Loader. More...

`#include "math/CMatrix3d.h"`
`#include "math/CVector3d.h"`
`#include "graphics/CVertex.h"`
`#include "graphics/CTriangle.h"`
`#include "graphics/CMaterial.h"`
`#include "graphics/CTexture2D.h"`
`#include "scenegraph/CWorld.h"`
`#include "scenegraph/CLight.h"`
`#include "scenegraph/CMesh.h"`
`#include "files/CFileLoaderOBJ.h"`
`#include "files/CFileLoader3DS.h"`
`#include <string>`

Go to the source code of this file.

## Functions
bool | cLoadMeshFromFile (cMesh *a_mesh, const string &a_fileName)
| Global function to load a file into a mesh. (CHAI currently supports .3ds and .obj files).

## Detailed Description

Files
General Mesh Loader.

CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.