Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

mesh3 Class Reference

Triangle Mesh. More...

#include <mesh3.h>

List of all members.

Public Types

typedef math::vector3 point3
 x,y,z point.

typedef std::vector< point3 * > point_list
 List of points.

typedef math::vector3 normal3
 Normal.

typedef std::vector< normal3 * > normal_list
 List of normals.

typedef std::vector< uv2 * > uv_list
 List of texture coordinates.

typedef std::vector< surface * > surface_list
 A list of surfaces.


Public Methods

 mesh3 (void)
 Default Constructor.

virtual ~mesh3 (void)
 Destructor.

void render_triangle (const triangle &tri) const
 Renders the given triangle.

void render_surface (const surface &surf) const
 Renders the given surface.

void render (void) const
 Sends the surface to OpenGL for rendering.


Protected Attributes

point_list m_vertexes
normal_list m_normals
uv_list m_uvs
surface_list m_surfaces


Detailed Description

Triangle Mesh.

Definition at line 15 of file mesh3.h.


Generated on Tue Feb 11 18:49:43 2003 for uber by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002