Struct Face

Struct Documentation

struct Face

Data structure for a triangular face.

Public Members

std::array<int, 3> v_index = {-1, -1, -1}

vertex indices

std::array<int, 3> n_index = {-1, -1, -1}

normal indices

std::array<int, 3> vt_index = {-1, -1, -1}

vertex texture indices

std::array<std::array<int, 4>, 3> e_index = {{{-1, -1, -1, -1}, {-1, -1, -1, -1}, {-1, -1, -1, -1}}}

edge indices

Vector3 geometric_normal
Vector3 assigned_normal
Vector3 face_centroid
bool invalidated = {false}