void EmptyCache()
{
Vertex[] vCaches = this.simpleVertexCache;
int[] index_caches = this.indexCached;
this.mesh = new Mesh();
int count = this.cacheCount;
for (int i = 0; i < count; i++)
{
Vertex v = vCaches[i];
this.AddVertex(v.x, v.y, index_caches[i]);
}
this.cacheCount = 0;
this.emptyCache = false;
}