Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change

This commit is contained in:
Robert Osfield
2006-11-02 12:27:15 +00:00
parent f9fb99dc43
commit e0f395fd07
35 changed files with 470 additions and 117 deletions

View File

@@ -7,7 +7,7 @@
#include <osgUtil/SceneView>
#include <osgDB/ReadFile>
#include <osgGA/SimpleViewer>
#include <osgViewer/SimpleViewer>
int main( int argc, char **argv )
@@ -34,7 +34,7 @@ int main( int argc, char **argv )
renderSurface->realize();
osgGA::SimpleViewer viewer;
osgViewer::SimpleViewer viewer;
viewer.setSceneData(loadedModel.get());
// initialize the view to look at the center of the scene graph