| 495 | | // polygon stipple |
| 496 | | osg::StateSet* stateSet = new osg::StateSet(); |
| 497 | | polyGeom->setStateSet(stateSet); |
| 498 | | osg::PolygonStipple* polygonStipple = new osg::PolygonStipple; |
| 499 | | stateSet->setAttributeAndModes(polygonStipple,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); |
| | 495 | // polygon stipple |
| | 496 | osg::StateSet* stateSet = new osg::StateSet(); |
| | 497 | polyGeom->setStateSet(stateSet); |
| | 498 | osg::PolygonStipple* polygonStipple = new osg::PolygonStipple; |
| | 499 | stateSet->setAttributeAndModes(polygonStipple,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); |