polyhedronFace - polygon representation used by the mpoly class.
polyhedronFace - polygon representation used by the mpoly class. A polyhedronFace represents a single face of a polyhedron. It is an indexed representation: rather than storing the vertices themselves, the index of each vertex (in the mpoly's array of vertices) is stored. The indices should be ordered counter-clockwise when looking at the face from outside the mpoly. The vertices should be coplanar; don't count on anything if they're not.For convenience, each face has several members associated with the face's appearance:
- color: an array of 3 floats for RGB color information
- appearance: a generic (void) pointer for other appearance: data (e.g. material properties)
- narr: a pointer to an array of surface normals; this may be NULL, indicating that the computed normal should be used, or it can point to an array of npts surface normals, one per vertex.
Alphabetic index HTML hierarchy of classes or Java