Builds a mesh with no vertices or edges
| Mesh::Mesh |
( |
List3df |
vertices, |
|
|
List3di |
faces |
|
) |
| |
Builds a mesh with the provided vertices and edges
- Parameters
-
| vertices | nx3 matrix of vertices for the mesh. |
| faces | mx3 matrix of face indices for the mesh. Listed in counter-clockwise order |
Removes the mesh from the GPU
| List3df Mesh::GetFaceNormals |
( |
| ) |
|
- Returns
- A copy of the face normals in the mesh
| List3di Mesh::GetFaces |
( |
| ) |
|
- Returns
- A copy of the faces in the mesh
| GLuint Mesh::GetNumEdges |
( |
| ) |
|
- Returns
- The number of edges in the mesh
- Returns
- The vertex array buffer index for this mesh
| List3df Mesh::GetVertices |
( |
| ) |
|
- Returns
- A copy of the vertices in the mesh
The documentation for this class was generated from the following files: