diff --git a/include/osgAnimation/CubicBezier b/include/osgAnimation/CubicBezier index 6b71838ad..7291c281c 100644 --- a/include/osgAnimation/CubicBezier +++ b/include/osgAnimation/CubicBezier @@ -21,12 +21,12 @@ namespace osgAnimation { - template class TemplateCubicBezier { public: - TemplateCubicBezier() {} + + TemplateCubicBezier() : _position(osg::default_value()), _controlPointIn(osg::default_value()), _controlPointOut(osg::default_value()) {} TemplateCubicBezier(const T& p, const T& i, const T& o) : _position(p), _controlPointIn(i), _controlPointOut(o) {