#include <geometry.h>
Collaboration diagram for geometry::tri_mesh< vertex_userdata_t, face_userdata_t, material_t, index_t >::face_t:

Public Member Functions | |
| face_t () | |
| Default constructor. | |
| face_t (int n_a, int n_b, int n_c) | |
| Constructor. | |
Public Attributes | |
| index_t | c |
| a,b and c are indices of 3 vertices of the triangle face | |
| material_t | material |
| materials representing "material" applied to this triangle face | |
| math::vector3 | normal |
| face normal vector | |
| vertex_userdata_t | userdata |
| user-specified per-face data | |
|
|||||||||
|
Default constructor. Produces uninitialized face! |
|
||||||||||||||||||||
|
Constructor. Initialized a,b and c from given values. Initializes normal to (0,0,0), and leaves material and user-defined per-face data undefined! |
|
|||||
|
a,b and c are indices of 3 vertices of the triangle face
|
|
|||||
|
materials representing "material" applied to this triangle face
|
|
|||||
|
face normal vector
|
|
|||||
|
user-specified per-face data
|
1.3.6