Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback
methods and reimplement computeBound so that it passes back a bounding volume rather than modifying the local one.
This commit is contained in:
@@ -121,3 +121,9 @@ void osgParticle::ParticleProcessor::traverse(osg::NodeVisitor& nv)
|
||||
// call the inherited method
|
||||
Node::traverse(nv);
|
||||
}
|
||||
|
||||
osg::BoundingSphere osgParticle::ParticleProcessor::computeBound() const
|
||||
{
|
||||
return osg::BoundingSphere();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user