Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-01 00:38:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-01 00:38:03 +0400
commit8a0a0e3a74a4bbd4161b9bfad79cb6e3350a0ef6 (patch)
treec87678a5243bf524d8994384cd7c7189e4bb24fc /source/blender/blenkernel/intern/anim.c
parentdb79c8b01e67e8707aa3810cb727997c9ea3c250 (diff)
minor cleanup made while looking into bug report (having vector size in comments is silly, may as well have in declaration)
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r--source/blender/blenkernel/intern/anim.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c
index 89bad72044e..fabc35361b9 100644
--- a/source/blender/blenkernel/intern/anim.c
+++ b/source/blender/blenkernel/intern/anim.c
@@ -585,11 +585,14 @@ int interval_test(int min, int max, int p1, int cycl)
}
-/* calculate the deformation implied by the curve path at a given parametric position, and returns whether this operation succeeded
- * - *vec needs FOUR items!
- * - ctime is normalized range <0-1>
+/* calculate the deformation implied by the curve path at a given parametric position,
+ * and returns whether this operation succeeded.
+ *
+ * note: ctime is normalized range <0-1>
+ *
+ * returns OK: 1/0
*/
-int where_on_path(Object *ob, float ctime, float *vec, float *dir, float *quat, float *radius, float *weight) /* returns OK */
+int where_on_path(Object *ob, float ctime, float vec[4], float dir[3], float quat[4], float *radius, float *weight)
{
Curve *cu;
Nurb *nu;