From 471e556e913feeb124af9e706694ad0fd5b7ea56 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Jun 2016 11:27:15 +0100 Subject: [PATCH] Added initializers --- include/osgAnimation/CubicBezier | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {