Updates to FlightManipulator
This commit is contained in:
parent
dbba29e35c
commit
ba7a7fe638
@ -93,6 +93,7 @@ class OSGGA_EXPORT FlightManipulator : public MatrixManipulator
|
|||||||
osg::ref_ptr<osg::Node> _node;
|
osg::ref_ptr<osg::Node> _node;
|
||||||
|
|
||||||
double _modelScale;
|
double _modelScale;
|
||||||
|
double _acceleration;
|
||||||
double _velocity;
|
double _velocity;
|
||||||
|
|
||||||
YawControlMode _yawMode;
|
YawControlMode _yawMode;
|
||||||
|
@ -58,7 +58,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
requestRedraw() requests a single redraw.
|
requestRedraw() requests a single redraw.
|
||||||
*/
|
*/
|
||||||
virtual void requestRedraw() = 0;
|
virtual void requestRedraw() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
requestContinousUpdate(bool) is for en/disabling a throw or idle
|
requestContinousUpdate(bool) is for en/disabling a throw or idle
|
||||||
@ -67,7 +67,7 @@ public:
|
|||||||
GUI toolkits can respond to this immediately by registering an idle/timed
|
GUI toolkits can respond to this immediately by registering an idle/timed
|
||||||
callback, or can delay setting the callback and update at their own leisure.
|
callback, or can delay setting the callback and update at their own leisure.
|
||||||
*/
|
*/
|
||||||
virtual void requestContinuousUpdate(bool needed=true) = 0;
|
virtual void requestContinuousUpdate(bool needed=true) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer
|
requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer
|
||||||
@ -75,7 +75,7 @@ public:
|
|||||||
to initialise the mouse pointer when mouse position relative to a controls
|
to initialise the mouse pointer when mouse position relative to a controls
|
||||||
neutral mouse position is required, i.e when mimicking a aircrafts joystick.
|
neutral mouse position is required, i.e when mimicking a aircrafts joystick.
|
||||||
*/
|
*/
|
||||||
virtual void requestWarpPointer(float x,float y) = 0;
|
virtual void requestWarpPointer(float x,float y) = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user