UPdated wrappers

This commit is contained in:
Robert Osfield
2006-04-25 13:50:07 +00:00
parent 475f526b3d
commit f22d11903b
4 changed files with 128 additions and 16 deletions

View File

@@ -89,22 +89,7 @@ namespace osgParticle
osg::Geometry* getPointGeometry() { return _pointGeometry.get(); }
osg::StateSet* getPointStateSet() { return _pointStateSet.get(); }
protected:
virtual ~PrecipitationEffect() {}
void compileGLObjects(osg::State& state) const;
void update();
void createGeometry(unsigned int numParticles,
osg::Geometry* quad_geometry,
osg::Geometry* line_geometry,
osg::Geometry* point_geometry);
void setUpGeometries(unsigned int numParticles);
/** Internal drawable used to render batches of cells.*/
class OSGPARTICLE_EXPORT PrecipitationDrawable : public osg::Drawable
{
public:
@@ -203,6 +188,22 @@ namespace osgParticle
};
protected:
virtual ~PrecipitationEffect() {}
void compileGLObjects(osg::State& state) const;
void update();
void createGeometry(unsigned int numParticles,
osg::Geometry* quad_geometry,
osg::Geometry* line_geometry,
osg::Geometry* point_geometry);
void setUpGeometries(unsigned int numParticles);
struct PrecipitationDrawableSet
{
osg::ref_ptr<PrecipitationDrawable> _quadPrecipitationDrawable;