From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin

This commit is contained in:
Robert Osfield
2004-08-04 08:27:43 +00:00
parent 041b664660
commit 7eb3f2646e
33 changed files with 137 additions and 111 deletions

View File

@@ -86,6 +86,15 @@ struct SmoothTriangleFunctor
}
};
SmoothingVisitor::SmoothingVisitor()
{
setTraversalMode(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN);
}
SmoothingVisitor::~SmoothingVisitor()
{
}
void SmoothingVisitor::smooth(osg::Geometry& geom)
{
Geometry::PrimitiveSetList& primitives = geom.getPrimitiveSetList();