Removed redundent #if OSG_USE_BOUND block

This commit is contained in:
Robert Osfield
2016-05-19 17:38:50 +01:00
parent a5b05f77ea
commit 3db6aa255f

View File

@@ -82,11 +82,7 @@ public:
// an attempt to return a reasonable bounding box. Still does not prevent clipping of the heat map.
virtual const osg::BoundingBox& getBoundingBox() const {return m_bounds;}
virtual osg::BoundingBox computeBoundingBox() const {return m_bounds;}
#ifdef OSG_USE_BOUND
virtual osg::Bound getBound() const { return osg::Bound(m_bounds, m_bounds); }
#else
virtual const osg::BoundingSphere& getBound() const {return m_bsphere;}
#endif
protected:
osg::BoundingBox m_bounds;