Added initializers
This commit is contained in:
parent
67cc776696
commit
471e556e91
@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
namespace osgAnimation
|
namespace osgAnimation
|
||||||
{
|
{
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
class TemplateCubicBezier
|
class TemplateCubicBezier
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TemplateCubicBezier() {}
|
|
||||||
|
TemplateCubicBezier() : _position(osg::default_value<T>()), _controlPointIn(osg::default_value<T>()), _controlPointOut(osg::default_value<T>()) {}
|
||||||
|
|
||||||
TemplateCubicBezier(const T& p, const T& i, const T& o) : _position(p), _controlPointIn(i), _controlPointOut(o)
|
TemplateCubicBezier(const T& p, const T& i, const T& o) : _position(p), _controlPointIn(i), _controlPointOut(o)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user