Renamed the osg::EarthSky to osg::ClearNode to make it more obvious what

role it has play and make it more relevant to non vis-sim applications.
This commit is contained in:
Robert Osfield
2002-08-19 11:42:37 +00:00
parent c72953d94b
commit b23a48a763
15 changed files with 71 additions and 96 deletions

View File

@@ -521,10 +521,10 @@ void CullVisitor::apply(LOD& node)
popCurrentMask();
}
void CullVisitor::apply(osg::EarthSky& node)
void CullVisitor::apply(osg::ClearNode& node)
{
// simply override the current earth sky.
setEarthSky(&node);
setClearNode(&node);
// push the node's state.
StateSet* node_state = node.getStateSet();