Changeset 4852 for OpenSceneGraph/trunk/examples/osgreflect/osgreflect.cpp
- Timestamp:
- 11/29/05 12:39:07 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgreflect/osgreflect.cpp
r4713 r4852 150 150 // the mirror plane 151 151 osg::Stencil* stencil = new osg::Stencil; 152 stencil->setFunction(osg::Stencil::ALWAYS,1,~0 );152 stencil->setFunction(osg::Stencil::ALWAYS,1,~0u); 153 153 stencil->setOperation(osg::Stencil::KEEP, osg::Stencil::KEEP, osg::Stencil::REPLACE); 154 154 … … 177 177 { 178 178 osg::Stencil* stencil = new osg::Stencil; 179 stencil->setFunction(osg::Stencil::ALWAYS,0,~0 );179 stencil->setFunction(osg::Stencil::ALWAYS,0,~0u); 180 180 stencil->setOperation(osg::Stencil::KEEP, osg::Stencil::KEEP, osg::Stencil::REPLACE); 181 181 … … 197 197 // set up the stencil ops so that only operator on this mirrors stencil value. 198 198 osg::Stencil* stencil = new osg::Stencil; 199 stencil->setFunction(osg::Stencil::EQUAL,1,~0 );199 stencil->setFunction(osg::Stencil::EQUAL,1,~0u); 200 200 stencil->setOperation(osg::Stencil::KEEP, osg::Stencil::KEEP, osg::Stencil::KEEP); 201 201 … … 255 255 256 256 osg::Stencil* stencil = new osg::Stencil; 257 stencil->setFunction(osg::Stencil::EQUAL,1,~0 );257 stencil->setFunction(osg::Stencil::EQUAL,1,~0u); 258 258 stencil->setOperation(osg::Stencil::KEEP, osg::Stencil::KEEP, osg::Stencil::KEEP); 259 259 dstate->setAttributeAndModes(stencil,osg::StateAttribute::ON); … … 282 282 283 283 osg::Stencil* stencil = new osg::Stencil; 284 stencil->setFunction(osg::Stencil::EQUAL,1,~0 );284 stencil->setFunction(osg::Stencil::EQUAL,1,~0u); 285 285 stencil->setOperation(osg::Stencil::KEEP, osg::Stencil::KEEP, osg::Stencil::ZERO); 286 286
