Added initializers

This commit is contained in:
Robert Osfield 2016-06-24 12:14:37 +01:00
parent 6bbd5299b6
commit 6db7d9e5d7

View File

@ -26,6 +26,7 @@ using namespace osgGA;
UFOManipulator::UFOManipulator(): UFOManipulator::UFOManipulator():
_t0(0.0), _t0(0.0),
_dt(0.0),
_shift(false), _shift(false),
_ctrl(false) _ctrl(false)
{ {
@ -34,6 +35,7 @@ UFOManipulator::UFOManipulator():
_speedAccelerationFactor = 0.4; _speedAccelerationFactor = 0.4;
_speedDecelerationFactor = 0.90; _speedDecelerationFactor = 0.90;
_decelerateUpSideRate = false;
_directionRotationRate = 0.0; _directionRotationRate = 0.0;
_directionRotationAcceleration = M_PI*0.00005; _directionRotationAcceleration = M_PI*0.00005;