Definition of a mesh.
More...
#include <shapes.h>
|
double * | normals |
| the normal to each triangle unit vector represented as (x,y,z) More...
|
|
unsigned int | triangleCount |
| the number of triangles formed with the vertices More...
|
|
unsigned int * | triangles |
| the vertex indices for each triangle triangle k has vertices at index (3k, 3k+1, 3k+2) = (v1, v2, v3) More...
|
|
unsigned int | vertexCount |
| the number of available vertices More...
|
|
double * | vertices |
| the position for each vertex vertex k has values at index (3k, 3k+1, 3k+2) = (x,y,z) More...
|
|
ShapeType | type |
|
Definition of a mesh.
Definition at line 151 of file shapes.h.
shapes::Mesh::Mesh |
( |
void |
| ) |
|
|
inline |
shapes::Mesh::Mesh |
( |
unsigned int |
vCount, |
|
|
unsigned int |
tCount |
|
) |
| |
|
inline |
virtual shapes::Mesh::~Mesh |
( |
void |
| ) |
|
|
inlinevirtual |
double* shapes::Mesh::normals |
the normal to each triangle unit vector represented as (x,y,z)
Definition at line 200 of file shapes.h.
unsigned int shapes::Mesh::triangleCount |
the number of triangles formed with the vertices
Definition at line 192 of file shapes.h.
unsigned int* shapes::Mesh::triangles |
the vertex indices for each triangle triangle k has vertices at index (3k, 3k+1, 3k+2) = (v1, v2, v3)
Definition at line 196 of file shapes.h.
unsigned int shapes::Mesh::vertexCount |
the number of available vertices
Definition at line 185 of file shapes.h.
double* shapes::Mesh::vertices |
the position for each vertex vertex k has values at index (3k, 3k+1, 3k+2) = (x,y,z)
Definition at line 189 of file shapes.h.
The documentation for this class was generated from the following file: