0cb75d42e0
the evaluation of a Vec3 paramter.
19 lines
316 B
C++
19 lines
316 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 = osgNew StateSet;
|
|
stateset->setRenderBinDetails(-1,"RenderBin");
|
|
setStateSet(stateset);
|
|
}
|
|
|