Added support for ConnectedParticleSystem.

This commit is contained in:
Robert Osfield
2005-11-12 13:38:32 +00:00
parent ae75981e36
commit 35e50365da
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
#include <osgParticle/ConnectedParticleSystem>
#include <osg/BoundingBox>
#include <osgDB/Registry>
#include <osgDB/Input>
#include <osgDB/Output>
#include <iostream>
#include <string>
extern bool read_particle(osgDB::Input &fr, osgParticle::Particle &P);
extern void write_particle(const osgParticle::Particle &P, osgDB::Output &fw);
bool ConnectedParticleSystem_readLocalData(osg::Object &obj, osgDB::Input &fr);
bool ConnectedParticleSystem_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
osgDB::RegisterDotOsgWrapperProxy ConnectedParticleSystem_Proxy
(
new osgParticle::ConnectedParticleSystem,
"ConnectedParticleSystem",
"Object Drawable ParticleSystem ConnectedParticleSystem",
ConnectedParticleSystem_readLocalData,
ConnectedParticleSystem_writeLocalData
);
bool ConnectedParticleSystem_readLocalData(osg::Object&, osgDB::Input&)
{
return false;
}
bool ConnectedParticleSystem_writeLocalData(const osg::Object&, osgDB::Output&)
{
return false;
}