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; osgGA::KeySwitchMatrixManipulator* keyswitchManipulator;
keyswitchManipulator = new osgGA::KeySwitchMatrixManipulator; keyswitchManipulator = new osgGA::KeySwitchMatrixManipulator;
osgGA::MatrixManipulator* mm = new osgGA::TrackballManipulator; keyswitchManipulator->addMatrixManipulator('1', "Trackball",
keyswitchManipulator->addMatrixManipulator('1', "Trackball", mm); new osgGA::TrackballManipulator);
mm = new osgGA::FlightManipulator; keyswitchManipulator->addMatrixManipulator('2', "Flight",
keyswitchManipulator->addMatrixManipulator('2', "Flight", mm); new osgGA::FlightManipulator);
mm = new osgGA::DriveManipulator; keyswitchManipulator->addMatrixManipulator('3', "Drive",
keyswitchManipulator->addMatrixManipulator('3', "Drive", mm); new osgGA::DriveManipulator);
mm = new osgGA::TerrainManipulator; keyswitchManipulator->addMatrixManipulator('4', "Terrain",
keyswitchManipulator->addMatrixManipulator('4', "Terrain", mm); new osgGA::TerrainManipulator);
viewer.setCameraManipulator(keyswitchManipulator); viewer.setCameraManipulator(keyswitchManipulator);
// Usefull stats // Usefull stats

View file

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