#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/buffered_value>
+#include <osg/Version>
#include <simgear/math/SGMath.hxx>
#include <simgear/math/sg_random.h>
const static unsigned int USR_ATTR_1 = 10;
const static unsigned int USR_ATTR_2 = 11;
- const static unsigned int USR_ATTR_3 = 12;
+ const static unsigned int USR_ATTR_3 = 12;
CloudShaderGeometry()
{
{ return _cloudsprites[i]; }
virtual void drawImplementation(osg::RenderInfo& renderInfo) const;
- virtual osg::BoundingBox computeBound() const
+ virtual osg::BoundingBox
+#if OSG_VERSION_LESS_THAN(3,3,2)
+ computeBound()
+#else
+ computeBoundingBox()
+#endif
+ const
{
return _bbox;
}