#include <mesh3.h>
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 |
Definition at line 15 of file mesh3.h.