Mesh.cpp File Reference

Representation of a triangular mesh stored in the obj format. It consists of a list of vertices's and a list of faces that contain indices in the vertex list. More...

#include "Mesh.h"
#include <SurfacePoint.h>
#include <kdTreeAccel.h>
#include <NaiveSpatialAccel.h>
#include <ResourceManager.h>
#include <Random.h>
#include <QtCore>
#include <strings.h>
#include <values.h>
#include <float.h>

Go to the source code of this file.

Defines

#define MESH_GET_INDEX(u)   (MIN((unsigned)floor((u) * m_nTriangles), m_nTriangles - 1))


Detailed Description

Representation of a triangular mesh stored in the obj format. It consists of a list of vertices's and a list of faces that contain indices in the vertex list.

Author:
Travis Fischer (fisch0920@gmail.com)

Nong Li (nongli@gmail.com)

Date:
Spring 2008

Definition in file Mesh.cpp.


Define Documentation

#define MESH_GET_INDEX (  )     (MIN((unsigned)floor((u) * m_nTriangles), m_nTriangles - 1))

Definition at line 26 of file Mesh.cpp.


Generated on 28 Feb 2009 for Milton by doxygen 1.5.6