Udates to Drawable + IVE plugin with support for new ClusterCullingCallack.

Improvement to osgbluemarble.
This commit is contained in:
Robert Osfield
2003-10-10 12:54:21 +00:00
parent 83b04bd04b
commit 5d35daa970
7 changed files with 240 additions and 169 deletions

View File

@@ -731,6 +731,9 @@ class SG_EXPORT ClusterCullingCallback : public Drawable::CullCallback
void setNormal(const osg::Vec3& normal) { _normal = normal; }
const osg::Vec3& getNormal() const { return _normal; }
void setRadius(float radius) { _radius = radius; }
float getRadius() const { return _radius; }
void setDeviation(float deviation) { _deviation = deviation; }
float getDeviation() const { return _deviation; }
@@ -740,9 +743,10 @@ class SG_EXPORT ClusterCullingCallback : public Drawable::CullCallback
virtual ~ClusterCullingCallback() {}
osg::Vec3 _controlPoint;
osg::Vec3 _normal;
float _deviation;
osg::Vec3 _controlPoint;
osg::Vec3 _normal;
float _radius;
float _deviation;
};