Files
OpenSceneGraph/src/osg/ClearNode.cpp
Robert Osfield 00cc3a1833 Converted the instance of osgNew and osgDelete back to new and delete as part
of depecating the include/osg/MemoryManager
2002-12-16 13:40:58 +00:00

19 lines
313 B
C++

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