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

20
src/osg/ClearNode.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include <osg/ClearNode>
#include <algorithm>
using namespace osg;
/**
* ClearNode constructor.
*/
ClearNode::ClearNode()
{
StateSet* stateset = osgNew StateSet;
stateset->setRenderBinDetails(-1,"RenderBin");
setStateSet(stateset);
_requiresClear = true;
_clearColor.set(0.0f,0.0f,0.0f,1.0f);
}