From a5b05f77eaabc7a0b9ea17432788d10d480a0a90 Mon Sep 17 00:00:00 2001 From: Jannik Heller Date: Thu, 19 May 2016 17:32:24 +0100 Subject: [PATCH] This submission removes the define / code path OSG_USE_BOUND that was never used. The class osg::Bound used by this code doesn't exist either. --- include/osg/CullingSet | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/osg/CullingSet b/include/osg/CullingSet index e077f4ffa..9d48aafdb 100644 --- a/include/osg/CullingSet +++ b/include/osg/CullingSet @@ -271,13 +271,6 @@ class OSG_EXPORT CullingSet : public Referenced return false; } -#ifdef OSG_USE_BOUND - inline bool isCulled(const Bound& bound) - { - if (bound.bb) return isCulled(*bound.bb); - else return isCulled(*bound.bs); - } -#endif inline void pushCurrentMask() { _frustum.pushCurrentMask();