Class: M_Face3D

The M_Face3D class represents a face in a 3D mesh.

Member Variables


numP (int)

The number of points in the face (can be 3 or 4).


p1 (int)

An index to the first point in the mesh that makes up this face.


p2 (int)

An index to the second point in the mesh.


p3 (int)

An index to the third point in the mesh.


p4 (int)

An index to the fourth point in the mesh.


matID (int)

An index to the mesh material that should be used on this face.