Show
Ignore:
Timestamp:
05/19/09 14:21:42 (16 months ago)
Author:
robert
Message:

Changed the default home position so that it's consistent with other OSG manipulators. Added setter of properties of the SphericalManipualtor?, moved across to using doubles internally

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/applications/osgviewer/osgviewer.cpp

    r9408 r10244  
    2727#include <osgGA/AnimationPathManipulator> 
    2828#include <osgGA/TerrainManipulator> 
     29#include <osgGA/SphericalManipulator> 
    2930 
    3031#include <iostream> 
     
    8586        keyswitchManipulator->addMatrixManipulator( '3', "Drive", new osgGA::DriveManipulator() ); 
    8687        keyswitchManipulator->addMatrixManipulator( '4', "Terrain", new osgGA::TerrainManipulator() ); 
     88        keyswitchManipulator->addMatrixManipulator( '5', "Spherical", new osgGA::SphericalManipulator() ); 
    8789 
    8890        std::string pathfile; 
    89         char keyForAnimationPath = '5'; 
     91        char keyForAnimationPath = '6'; 
    9092        while (arguments.read("-p",pathfile)) 
    9193        {