- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# CFileLoaderOBJ.h File Reference

The following file provides a parser to load 3d images supporting the alias/wavefront file format. More...

`#include "CMatrix3d.h"`
`#include "CVector3d.h"`
`#include "CVertex.h"`
`#include "CTriangle.h"`
`#include "CMesh.h"`
`#include "CMaterial.h"`
`#include "CTexture2D.h"`
`#include "CWorld.h"`
`#include "CLight.h"`
`#include <string>`
`#include <stdio.h>`
`#include <map>`

## Functions
bool | cLoadFileOBJ (cMesh *iMesh, const string &iFileName)
| Load a 3d image by providing a filename and mesh in which object is loaded.

## Detailed Description

The following file provides a parser to load 3d images supporting the alias/wavefront file format.

## Function Documentation

bool cLoadFileOBJ | ( | cMesh * | a_mesh,
|  | const string & | a_fileName |
| ) |  |  |

Load a 3d image by providing a filename and mesh in which object is loaded.

Load a Wavefront OBJ file format image into a mesh.

Parameters:

  | a_mesh | Mesh in which image file is loaded
  | a_fileName | Name of image file.

Returns:
  Return true if image was loaded successfully, otherwise return false.