Added support for .osgt, .osgb and .osgx plugins to osgvolume example

This commit is contained in:
Robert Osfield
2011-06-07 16:17:35 +00:00
parent c565a7a956
commit 537272b98f
2 changed files with 19 additions and 6 deletions

View File

@@ -3,9 +3,22 @@
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( osgVolume_SampleDensityProperty,
new osgVolume::SampleDensityProperty,
osgVolume::SampleDensityProperty,
"osg::Object osgVolume::Property osgVolume::ScalarProperty osgVolume::SampleDensityProperty" )
namespace osgVolume_SampleDensityProperty
{
REGISTER_OBJECT_WRAPPER( osgVolume_SampleDensityProperty,
new osgVolume::SampleDensityProperty,
osgVolume::SampleDensityProperty,
"osg::Object osgVolume::Property osgVolume::ScalarProperty osgVolume::SampleDensityProperty" )
{
}
}
namespace osgVolume_SampleDensityWhenMovingProperty
{
REGISTER_OBJECT_WRAPPER( osgVolume_SampleDensityWhenMovingProperty,
new osgVolume::SampleDensityWhenMovingProperty,
osgVolume::SampleDensityWhenMovingProperty,
"osg::Object osgVolume::Property osgVolume::ScalarProperty osgVolume::SampleDensityWhenMovingProperty" )
{
}
}