Corrected orientation of aeroplane and direction of rotation around earth.

This commit is contained in:
Robert Osfield 2005-03-22 12:04:03 +00:00
parent 8eb0e8ca88
commit 1791f7c6b9

View File

@ -109,11 +109,13 @@ public:
_latitude(0.0), _latitude(0.0),
_longitude(0.0), _longitude(0.0),
_height(100000.0) _height(100000.0)
{} {
_rotation.makeRotate(osg::DegreesToRadians(90.0),0.0,0.0,1.0);
}
void updateParameters() void updateParameters()
{ {
_latitude -= ((2.0*osg::PI)/360.0)/20.0; _longitude += ((2.0*osg::PI)/360.0)/20.0;
} }