Added missining initialization of _radius in constructors

This commit is contained in:
Robert Osfield
2006-09-20 13:41:33 +00:00
parent ce65ad05d1
commit 0dcf5271f1

View File

@@ -30,12 +30,18 @@ ClusterCullingCallback::ClusterCullingCallback():
ClusterCullingCallback::ClusterCullingCallback(const ClusterCullingCallback& ccc,const CopyOp& copyop):
Drawable::CullCallback(ccc,copyop),
_controlPoint(ccc._controlPoint),_normal(ccc._normal),_deviation(ccc._deviation)
_controlPoint(ccc._controlPoint),
_normal(ccc._normal),
_radius(ccc._radius),
_deviation(ccc._deviation)
{
}
ClusterCullingCallback::ClusterCullingCallback(const osg::Vec3& controlPoint, const osg::Vec3& normal, float deviation):
_controlPoint(controlPoint),_normal(normal), _deviation(deviation)
_controlPoint(controlPoint),
_normal(normal),
_radius(-1.0f),
_deviation(deviation)
{
}