Function SurfaceTool.addIndex

Adds an index to index array if you are using indexed vertices. Does not need to be called before adding vertices.

void addIndex (
  const(long) index
) nothrow @nogc;