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.

This commit is contained in:
Jannik Heller 2016-05-19 17:32:24 +01:00 committed by Robert Osfield
parent 2ef6909d9b
commit a5b05f77ea

View File

@ -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();