diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-19 14:45:46 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-19 14:45:46 +0300 |
commit | c752ec9fc458f6fd1fc0ae7a156d33bf86e73eff (patch) | |
tree | 8f559ef2cd1ce8a1c4ccee72096f34b1caf3c46f /source/blender/blenkernel/BKE_ipo.h | |
parent | 242695011e71a358f466d4f78df3b9c66d739a64 (diff) |
2.5
Merged 'backend' changes from AnimSys2. Many of these changes are necessary for the Dopesheet and other changes I'm currently still stabilising. Those will come in due course.
Diffstat (limited to 'source/blender/blenkernel/BKE_ipo.h')
-rw-r--r-- | source/blender/blenkernel/BKE_ipo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_ipo.h b/source/blender/blenkernel/BKE_ipo.h index fdd176e0e64..f0c530808a7 100644 --- a/source/blender/blenkernel/BKE_ipo.h +++ b/source/blender/blenkernel/BKE_ipo.h @@ -24,7 +24,7 @@ * * The Original Code is: all of this file. * - * Contributor(s): none yet. + * Contributor(s): 2008, Joshua Leung (Animation Cleanup) * * ***** END GPL LICENSE BLOCK ***** */ @@ -87,6 +87,8 @@ void testhandles_ipocurve(struct IpoCurve *icu); void sort_time_ipocurve(struct IpoCurve *icu); int test_time_ipocurve(struct IpoCurve *icu); +void set_interpolation_ipocurve(struct IpoCurve *icu, short ipo); + /* -------- IPO-Curve (Bezier) Calculations ---------- */ void correct_bezpart(float *v1, float *v2, float *v3, float *v4); @@ -101,6 +103,8 @@ void calc_icu(struct IpoCurve *icu, float ctime); float calc_ipo_time(struct Ipo *ipo, float ctime); void calc_ipo(struct Ipo *ipo, float ctime); +void calc_ipo_range(struct Ipo *ipo, float *start, float *end); + /* ------------ Keyframe Column Tools -------------- */ void add_to_cfra_elem(struct ListBase *lb, struct BezTriple *bezt); |