#include <KMesh.h>
Inherited by Mesh::C_Triangle, Mesh::F_Triangle, Mesh::G_Triangle, Mesh::S_Triangle, and Mesh::T_Triangle< textureCount >.
|
unsigned int | a |
| first indice
|
|
unsigned int | b |
| second indice
|
|
unsigned int | c |
| third indice
|
|
◆ CopyFrom()
void Mesh::Triangle::CopyFrom |
( |
Triangle & |
T | ) |
|
|
inlinevirtual |
copy a triangle
- Parameters
-
◆ getSizeOf()
unsigned int Mesh::Triangle::getSizeOf |
( |
| ) |
|
|
inlinevirtual |
get the size of the triangle
- Returns
- the size of this instance of triangle
◆ Load()
read a, b and c value in a file
- Parameters
-
◆ Normal()
void Mesh::Triangle::Normal |
( |
const Point3D * |
VertexArray, |
|
|
Vector3D & |
Na |
|
) |
| |
|
inline |
Compute the normal at triangle.
- Parameters
-
VertexArray | : list of vertice |
Na | : normal vector at the triangle (in/out param) |
◆ NormalAngle()
void Mesh::Triangle::NormalAngle |
( |
const Point3D * |
VertexArray, |
|
|
Vector3D & |
Na, |
|
|
Vector3D & |
Nb, |
|
|
Vector3D & |
Nc |
|
) |
| |
Compute the normal at triangle vertices ponderated by the angle.
- Parameters
-
VertexArray | : list of vertice |
Na | : normal vector at the first triangle's vertex (in/out param) |
Nb | : normal vector at the second triangle's vertex (in/out param) |
Nc | : normal vector at the third triangle's vertex (in/out param) |
The documentation for this class was generated from the following files:
- G:/Projects/Github/kigs/framework/Renderer/Headers/KMesh.h
- G:/Projects/Github/kigs/framework/Renderer/Sources/KMesh.cpp