sprite_density = d;
}
- static int getNumFlavours(void)
- {
- return num_flavours;
- }
-
- // Set the number of flavours of this cloud.
- // This is the number of different instances
- // to generate.
- static void setNumFlavours(int d)
- {
- num_flavours = d;
- }
-
private:
osg::Geometry* quad;
osg::ref_ptr<osg::StateSet> stateSet;
static double sprite_density;
- static int num_flavours;
osg::Geometry* createOrthQuad(float w, float h, int varieties_x, int varieties_y);
-
#endif // _NEWCLOUD_HXX