Added TriStripVisitor usage.

This commit is contained in:
Robert Osfield 2003-12-13 16:41:46 +00:00
parent 0cbe10d399
commit 70572a3930

View File

@ -13,6 +13,8 @@
#include <osgDB/FileNameUtils>
#include <osgDB/ReadFile>
#include <osgUtil/TriStripVisitor>
//MIKEC debug only for PrintVisitor
#include <osg/NodeVisitor>
@ -617,6 +619,9 @@ osg::Drawable* ReaderWriter3DS::createDrawable(Lib3dsMesh *m,FaceList& faceLis
geom->addPrimitiveSet(elements);
osgUtil::TriStripVisitor tsv;
tsv.stripify(*geom);
return geom;
}