Added support for ConnectedParticleSystem.
This commit is contained in:
@@ -108,6 +108,10 @@ SOURCE=..\..\..\src\osgPlugins\osgParticle\IO_CenteredPlacer.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\osgPlugins\osgParticle\IO_ConnectedParticleSystem.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\osgPlugins\osgParticle\IO_Emitter.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -5,6 +5,7 @@ CXXFILES =\
|
||||
IO_AccelOperator.cpp\
|
||||
IO_AngularAccelOperator.cpp\
|
||||
IO_CenteredPlacer.cpp\
|
||||
IO_ConnectedParticleSystem.cpp\
|
||||
IO_Emitter.cpp\
|
||||
IO_FluidFrictionOperator.cpp\
|
||||
IO_ForceOperator.cpp\
|
||||
|
||||
36
src/osgPlugins/osgParticle/IO_ConnectedParticleSystem.cpp
Normal file
36
src/osgPlugins/osgParticle/IO_ConnectedParticleSystem.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user