- Timestamp:
- 06/07/07 22:22:45 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgviewerCocoa/ViewerCocoa.mm
r6886 r6892 270 270 Viewer = new osgViewer::Viewer; 271 271 graphicsWindow = Viewer->setUpViewerAsEmbeddedInWindow(0,0,800,800); 272 272 // Builts in Stats handler 273 Viewer->addEventHandler(new osgViewer::StatsHandler); 273 274 #ifdef VIEWER_USE_SHARED_CONTEXTS 274 275 // Workaround: osgViewer::Viewer automatically increments its context ID values. … … 283 284 // Use a trackball manipulator...matches nicely with the Mighty Mouse Scrollball. 284 285 Viewer->setCameraManipulator(new osgGA::TrackballManipulator); 286 285 287 } 286 288
