- Timestamp:
- 06/08/06 13:18:27 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp
r5122 r5159 35 35 36 36 #include <osgSim/OverlayNode> 37 #include <osgSim/SphereSegment> 37 38 38 39 #include <osgGA/NodeTrackerManipulator> … … 346 347 scaler->getOrCreateStateSet()->setMode(GL_RESCALE_NORMAL,osg::StateAttribute::ON); 347 348 349 if (false) 350 { 351 osgSim::SphereSegment* ss = new osgSim::SphereSegment( 352 osg::Vec3(0.0f,0.0f,0.0f), // center 353 19.9f, // radius 354 osg::DegreesToRadians(135.0f), 355 osg::DegreesToRadians(240.0f), 356 osg::DegreesToRadians(-10.0f), 357 osg::DegreesToRadians(30.0f), 358 60); 359 360 scaler->addChild(ss); 361 } 362 348 363 osg::MatrixTransform* mt = new osg::MatrixTransform; 349 364 mt->addChild(scaler);
