From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators,
change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp. Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal OSG coding style.
This commit is contained in:
@@ -67,9 +67,18 @@ class OSGGA_EXPORT FlightManipulator : public MatrixManipulator
|
||||
NO_AUTOMATIC_YAW
|
||||
};
|
||||
|
||||
/** Configure the Yaw control for the flight model. */
|
||||
/** Configure the Yaw control for the flight model. */
|
||||
void setYawControlMode(YawControlMode ycm) { _yawMode = ycm; }
|
||||
|
||||
void setModelScale(double in_ms) { _modelScale = in_ms; }
|
||||
double getModelScale() const { return _modelScale; }
|
||||
|
||||
void setAcceleration(double in_acc) { _acceleration = in_acc; }
|
||||
double getAcceleration() const { return _acceleration; }
|
||||
|
||||
void setVelocity(double in_vel) { _velocity = in_vel; }
|
||||
double getVelocity() const { return _velocity; }
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~FlightManipulator();
|
||||
|
||||
Reference in New Issue
Block a user