]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animation.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / animation.h
index 616d0e74e9ab8beadc2c39b4010786d2f57082cb..6845d23ee3e1652c9f7e49a86e5145f3faa6aa52 100644 (file)
@@ -83,10 +83,10 @@ private:
        class ValueCurve: public Curve
        {
        public:
-               typedef typename Interpolate::SplineKnot<float, N> Knot;
+               typedef typename Interpolate::SplineKnot<double, N> Knot;
 
        private:
-               Interpolate::Spline<float, 3, N> spline;
+               Interpolate::Spline<double, 3, N> spline;
 
        public:
                ValueCurve(CurveTarget, int, const std::vector<Knot> &);
@@ -182,9 +182,11 @@ public:
        const std::string &get_uniform_name(unsigned) const;
 
        void add_keyframe(const Time::TimeDelta &, const KeyFrame &);
+       void add_keyframe_owned(const Time::TimeDelta &, const KeyFrame *);
        DEPRECATED void add_keyframe(const Time::TimeDelta &, const KeyFrame &, float);
        DEPRECATED void add_keyframe(const Time::TimeDelta &, const KeyFrame &, float, float);
        void add_control_keyframe(const KeyFrame &);
+       void add_control_keyframe_owned(const KeyFrame *);
 private:
        void add_keyframe(const Time::TimeDelta &, const KeyFrame *, float, float, bool);
        void add_keyframe(const Time::TimeDelta &, const KeyFrame *, bool, bool);