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:
@@ -236,7 +236,7 @@ const bool Group::computeBound() const
|
||||
}
|
||||
}
|
||||
|
||||
if (!bb.isValid()) return false;
|
||||
if (!bb.valid()) return false;
|
||||
|
||||
_bsphere._center = bb.center();
|
||||
_bsphere._radius = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user