s:
struct MapSurface
{
int shaderNum;
int lightmapNum;
int firstVert;////indices for vertex list
int numVerts;
int type;
int firstIndex;//for mesh index list
int numIndexes;
};
i2numIndexes should be i2 "smaller than" s.numIndexes
(forum stripped away the html stuff)
vertices is my vertex list.
meshverts is the mesh index list.