Added osgsimplifier example.

This commit is contained in:
Robert Osfield
2004-04-18 16:15:49 +00:00
parent e524092e1e
commit a1caa14a61
7 changed files with 157 additions and 6 deletions

View File

@@ -29,6 +29,9 @@ class OSGUTIL_EXPORT Simplifier : public osg::NodeVisitor
public:
Simplifier(float sampleRatio=0.5f);
void setSampleRatio(float sampleRatio) { _sampleRatio = sampleRatio; }
float getSampleRatio() const { return _sampleRatio; }
virtual void apply(osg::Geode& geode)
{