Fixed cluster culling.

This commit is contained in:
Robert Osfield
2004-07-09 20:58:43 +00:00
parent a7490a2ea2
commit 3f4b8e9034
3 changed files with 13 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ class SG_EXPORT ClusterCullingCallback : public Drawable::CullCallback
/** compute the control point, normal and deviation from the contents of the drawable.*/
void computeFrom(const osg::Drawable* drawable);
void set(const osg::Vec3& controlPoint, const osg::Vec3& normal, float deviation);
void set(const osg::Vec3& controlPoint, const osg::Vec3& normal, float deviation, float radius);
void setControlPoint(const osg::Vec3& controlPoint) { _controlPoint = controlPoint; }
const osg::Vec3& getControlPoint() const { return _controlPoint; }