- Timestamp:
- 07/11/07 16:16:02 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgdistortion/osgdistortion.cpp
r6941 r7098 699 699 } 700 700 701 while (arguments.read("--sky-light")) 702 { 703 viewer.setLightingMode(osg::View::SKY_LIGHT); 704 } 705 706 if (viewer.getLightingMode()==osg::View::HEADLIGHT) 707 { 708 viewer.getLight()->setPosition(osg::Vec4(0.0f,0.0f,0.0f,1.0f)); 709 } 710 701 711 702 712 // load the nodes from the commandline arguments.
