- Timestamp:
- 05/14/07 22:23:10 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp
r6665 r6669 251 251 } 252 252 } 253 254 osgSim::OverlayNode::OverlayTechnique technique = osgSim::OverlayNode::OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY; 255 while (arguments.read("--object")) technique = osgSim::OverlayNode::OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY; 256 while (arguments.read("--ortho") || arguments.read("--orthographic")) technique = osgSim::OverlayNode::VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY; 257 while (arguments.read("--persp") || arguments.read("--perspective")) technique = osgSim::OverlayNode::VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY; 258 253 259 254 260 // if user request help write it out to cout. … … 288 294 { 289 295 290 overlayNode = new osgSim::OverlayNode ;296 overlayNode = new osgSim::OverlayNode(technique); 291 297 292 298 // insert the OverlayNode between the coordinate system node and its children.
