Draws a surface defined by a set of faces (three or four vertices per face).
This function can be called directly using the information given by the IGeoTessellation interface.
Examples
Parameters
-
vertices
Array of points coordinates.
-
normals
Array of vectors (one vector per vertex).
-
faces
Array of Indices to describe each face. One face is defined by an integer (three or four) that identify the number of vertices for this face and the index of each vertex.
-
colors
Array of colors (one color per vertex).