Changeset 7020
- Timestamp:
- 06/23/07 13:24:00 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgviewerQT/osgviewerQT.cpp
r7019 r7020 147 147 { 148 148 getCamera()->setViewport(new osg::Viewport(0,0,width(),height())); 149 getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(width())/static_cast<double>(height()), 1.0f, 10000.0f); 149 150 getCamera()->setGraphicsContext(getGraphicsWindow()); 150 getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(width())/static_cast<double>(height()), 1.0f, 10000.0f);151 151 152 152 setThreadingModel(osgViewer::Viewer::SingleThreaded);
