Added osgwindows example which sets up and Producer::CameraConfig up
and uses that to create multiple windows.
This commit is contained in:
@@ -138,8 +138,8 @@ void Viewer::setUpViewer(unsigned int options)
|
||||
_old_style_osg_camera = new osg::Camera;
|
||||
|
||||
if (options&TRACKBALL_MANIPULATOR) addCameraManipulator(new osgGA::TrackballManipulator);
|
||||
if (options&DRIVE_MANIPULATOR) addCameraManipulator(new osgGA::DriveManipulator);
|
||||
if (options&FLIGHT_MANIPULATOR) addCameraManipulator(new osgGA::FlightManipulator);
|
||||
if (options&DRIVE_MANIPULATOR) addCameraManipulator(new osgGA::DriveManipulator);
|
||||
|
||||
if (options&STATE_MANIPULATOR)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user