From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user