Given the position of a primitive in the mesh, and an index, get the
indexing used for that primitive's vertex. E.g. for triangles, the pointIndex
index would be 0-2, lines 0-1, points 0.
Index for this vertex, -1 if there was an error
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)