- Timestamp:
- 01/08/07 11:00:16 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgintersection/osgintersection.cpp
r5814 r5927 30 30 // use an ArgumentParser object to manage the program arguments. 31 31 osg::ArgumentParser arguments(&argc,argv); 32 33 // set up the usage document, in case we need to print out how to use this program.34 arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use of node tracker.");35 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName());36 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information");37 32 38 33 osg::ref_ptr<osg::Node> scene = osgDB::readNodeFiles(arguments);
