Documentation
















  Site Hosted by:

SourceForge.net Logo


Support This Project


ad::Mesh Struct Reference

Top mesh data structure. More...

#include <mesh.h>

Collaboration diagram for ad::Mesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Mesh (std::string filename, UserFunction *loader=0)
 Loads a mesh from an .adm file.
 ~Mesh ()
 Destroy the mesh.

Public Attributes

unsigned int numBones
unsigned int * bones
 indices of bones that affect this mesh
unsigned int numSurfaces
Surfacesurfaces
 array of surfaces

Detailed Description

Top mesh data structure.

The mesh is the highest level structure that contains information about the geometry used to make up an object. This class also knows which bones affect the mesh. If the mesh is influenced by any bones, it will be pre-deformed so that a new pose can be easily applied.

See also:
ad::MeshCacher, ad::Surface


The documentation for this struct was generated from the following files:

© Copyright 2005 John Butterfield.
All Rights Reserved.