1
0
Fork 0

remove references to osgGA::MatrixManipulator

This class has been removed in current OSG sources.
This commit is contained in:
Tim Moore 2010-05-31 07:06:55 +02:00
parent 917524160b
commit 473cea7f17
2 changed files with 16 additions and 17 deletions

View file

@ -149,15 +149,14 @@ fgviewerMain(int argc, char** argv)
osgGA::KeySwitchMatrixManipulator* keyswitchManipulator;
keyswitchManipulator = new osgGA::KeySwitchMatrixManipulator;
osgGA::MatrixManipulator* mm = new osgGA::TrackballManipulator;
keyswitchManipulator->addMatrixManipulator('1', "Trackball", mm);
mm = new osgGA::FlightManipulator;
keyswitchManipulator->addMatrixManipulator('2', "Flight", mm);
mm = new osgGA::DriveManipulator;
keyswitchManipulator->addMatrixManipulator('3', "Drive", mm);
mm = new osgGA::TerrainManipulator;
keyswitchManipulator->addMatrixManipulator('4', "Terrain", mm);
keyswitchManipulator->addMatrixManipulator('1', "Trackball",
new osgGA::TrackballManipulator);
keyswitchManipulator->addMatrixManipulator('2', "Flight",
new osgGA::FlightManipulator);
keyswitchManipulator->addMatrixManipulator('3', "Drive",
new osgGA::DriveManipulator);
keyswitchManipulator->addMatrixManipulator('4', "Terrain",
new osgGA::TerrainManipulator);
viewer.setCameraManipulator(keyswitchManipulator);
// Usefull stats

View file

@ -58,14 +58,14 @@ main(int argc, char** argv)
osgGA::KeySwitchMatrixManipulator* keyswitchManipulator;
keyswitchManipulator = new osgGA::KeySwitchMatrixManipulator;
osgGA::MatrixManipulator* mm = new osgGA::TrackballManipulator;
keyswitchManipulator->addMatrixManipulator('1', "Trackball", mm);
mm = new osgGA::FlightManipulator;
keyswitchManipulator->addMatrixManipulator('2', "Flight", mm);
mm = new osgGA::DriveManipulator;
keyswitchManipulator->addMatrixManipulator('3', "Drive", mm);
mm = new osgGA::TerrainManipulator;
keyswitchManipulator->addMatrixManipulator('4', "Terrain", mm);
keyswitchManipulator->addMatrixManipulator('1', "Trackball",
new osgGA::TrackballManipulator);
keyswitchManipulator->addMatrixManipulator('2', "Flight",
new osgGA::FlightManipulator);
keyswitchManipulator->addMatrixManipulator('3', "Drive",
new osgGA::DriveManipulator);
keyswitchManipulator->addMatrixManipulator('4', "Terrain",
new osgGA::TerrainManipulator);
viewer.setCameraManipulator(keyswitchManipulator);