Fixed LWO2 ReaderWriter problem which was down to an the compiler reodering

the evaluation of a Vec3 paramter.
This commit is contained in:
Robert Osfield
2002-09-03 13:04:53 +00:00
parent 46585242a1
commit 0cb75d42e0
6 changed files with 67 additions and 49 deletions

View File

@@ -7,14 +7,12 @@ using namespace osg;
/**
* ClearNode constructor.
*/
ClearNode::ClearNode()
ClearNode::ClearNode():
_requiresClear(true),
_clearColor(0.0f,0.0f,0.0f,1.0f)
{
StateSet* stateset = osgNew StateSet;
stateset->setRenderBinDetails(-1,"RenderBin");
setStateSet(stateset);
_requiresClear = true;
_clearColor.set(0.0f,0.0f,0.0f,1.0f);
}