diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-12 18:12:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-12 18:12:37 +0400 |
commit | d16bde417fb985eb348cdbf2314e324fa9d098a9 (patch) | |
tree | 325609eb67279cb6dfee7db1d89462e87960b956 /source/blender/blenkernel/BKE_anim.h | |
parent | 3f9d3b2a0b61fee0b51b3b867033b5488c17cc35 (diff) |
new struct PathPoint for each path element (replaces float[4]), Paths now store radius and quaternion
Added optional quat and radius args to anim.c's where_on_path(...), currently unused.
also cleanup some warnings.
Diffstat (limited to 'source/blender/blenkernel/BKE_anim.h')
-rw-r--r-- | source/blender/blenkernel/BKE_anim.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_anim.h b/source/blender/blenkernel/BKE_anim.h index 5ea511738ad..4b1e758da54 100644 --- a/source/blender/blenkernel/BKE_anim.h +++ b/source/blender/blenkernel/BKE_anim.h @@ -51,7 +51,7 @@ typedef struct DupliObject { void free_path(struct Path *path); void calc_curvepath(struct Object *ob); int interval_test(int min, int max, int p1, int cycl); -int where_on_path(struct Object *ob, float ctime, float *vec, float *dir); +int where_on_path(struct Object *ob, float ctime, float *vec, float *dir, float *quat, float *radius); struct ListBase *object_duplilist(struct Scene *sce, struct Object *ob); void free_object_duplilist(struct ListBase *lb); |