- Timestamp:
- 01/07/09 12:24:47 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgdrawinstanced/osgdrawinstanced.cpp
r9448 r9459 120 120 int main( int argc, char **argv ) 121 121 { 122 // Make a scene graph consisting of a single Geode, containing 122 osg::ArgumentParser arguments(&argc, argv); 123 124 // Make a scene graph consisting of a single Geode, containing 123 125 // a single Geometry, and a single PrimitiveSet. 124 126 osg::ref_ptr< osg::Geode > geode = new osg::Geode; … … 143 145 // osgDB::writeNodeFile(*geode, "instanced.osg"); 144 146 145 osgViewer::Viewer viewer ;147 osgViewer::Viewer viewer(arguments); 146 148 viewer.setSceneData( geode.get() ); 147 149 return viewer.run();
