From Romano, extra methods/variables for controlling tesselation.

This commit is contained in:
Robert Osfield
2003-04-15 09:33:11 +00:00
parent 0036018507
commit 63628ce099
2 changed files with 42 additions and 10 deletions

View File

@@ -130,12 +130,9 @@ void TriStripVisitor::stripify(Geometry& geom)
// so increment to give to the corrent number of verticies.
++in_numVertices;
int in_cacheSize = 16;
int in_minStripLength = 2;
triangle_stripper::tri_stripper stripifier(taf.in_indices);
stripifier.SetCacheSize(in_cacheSize);
stripifier.SetMinStripSize(in_minStripLength);
stripifier.SetCacheSize(_cacheSize);
stripifier.SetMinStripSize(_minStripSize);
triangle_stripper::tri_stripper::primitives_vector outPrimitives;
stripifier.Strip(&outPrimitives);