Function SurfaceTool.index

Shrinks the vertex array by creating an index array (avoids reusing vertices).

void index() nothrow @nogc;