triangulate

Triangulates the polygon represented by the provided vertex data.

Return

A list of indexed triangles representing the triangulated polygon. Each triangle is defined using the vertex information from the provided vertex data.

Parameters

vertexData

The vertex data that defines the positions, texture coordinates, colors, normals, tangents, and bitangents of the polygon vertices.