Moved the code referencing osg::BoundingBox::isValid() and
osg::BoundingSphere::isValid() across to use the valid() methods, the later being more consitent with other classes such as osg::ref_ptr<>.
This commit is contained in:
@@ -256,7 +256,7 @@ void IntersectVisitor::popMatrix()
|
||||
bool IntersectVisitor::enterNode(Node& node)
|
||||
{
|
||||
const BoundingSphere& bs = node.getBound();
|
||||
if (bs.isValid())
|
||||
if (bs.valid())
|
||||
{
|
||||
IntersectState* cis = _intersectStateStack.back().get();
|
||||
IntersectState::LineSegmentmentMask sm=0xffffffff;
|
||||
|
||||
Reference in New Issue
Block a user