Added initializers

This commit is contained in:
Robert Osfield 2016-06-24 11:58:38 +01:00
parent 0d427ed157
commit 601884131e
2 changed files with 6 additions and 2 deletions

View File

@ -152,6 +152,7 @@ class OSGGA_EXPORT StandardManipulator : public CameraManipulator
bool _isAnimating;
double _startTime;
double _phase;
AnimationData();
void start( const double startTime );
};

View File

@ -841,8 +841,11 @@ bool StandardManipulator::startAnimationByMousePointerIntersection(
}
StandardManipulator::AnimationData::AnimationData()
:_isAnimating( false )
StandardManipulator::AnimationData::AnimationData():
_animationTime(0.0),
_isAnimating(false),
_startTime(0.0),
_phase(0.0)
{
}