remove references to osgGA::MatrixManipulator
This class has been removed in current OSG sources.
This commit is contained in:
parent
917524160b
commit
473cea7f17
2 changed files with 16 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue