Show
Ignore:
Timestamp:
03/22/05 13:04:03 (10 years ago)
Author:
robert
Message:

Corrected orientation of aeroplane and direction of rotation around earth.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp

    r3725 r3933  
    110110        _longitude(0.0), 
    111111        _height(100000.0) 
    112          {} 
    113  
     112    { 
     113        _rotation.makeRotate(osg::DegreesToRadians(90.0),0.0,0.0,1.0); 
     114    } 
     115     
    114116    void updateParameters() 
    115117    { 
    116         _latitude -= ((2.0*osg::PI)/360.0)/20.0; 
     118        _longitude += ((2.0*osg::PI)/360.0)/20.0; 
    117119    } 
    118120