Removed OSG_USE_BOUND and associated osg::Bound adapter class to avoid problems with BoundingBox::expandBy/expandByRadius() implementation choosing a null BoundingBox from
the osg::Bound class causing crashes.
This commit is contained in:
@@ -22,10 +22,6 @@
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/BoundingBox>
|
||||
|
||||
#ifdef OSG_USE_BOUND
|
||||
#include <osg/Node>
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace osg {
|
||||
@@ -325,13 +321,6 @@ class OSG_EXPORT Plane
|
||||
|
||||
}
|
||||
|
||||
#ifdef OSG_USE_BOUND
|
||||
inline int intersect(const Bound& bound) const
|
||||
{
|
||||
if (bound.bb) return intersect(*bound.bb);
|
||||
else return intersect(*bound.bs);
|
||||
}
|
||||
#endif
|
||||
/** Transform the plane by matrix. Note, this operation carries out
|
||||
* the calculation of the inverse of the matrix since a plane
|
||||
* must be multiplied by the inverse transposed to transform it. This
|
||||
|
||||
Reference in New Issue
Block a user