diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:33 +0400 |
commit | 5c4f96af2c9fc5afc676cf132e8171a66a973d1b (patch) | |
tree | 3085a2024f8bd07ea2b14a71c6003aaec24c3179 /source/blender/blenkernel | |
parent | 62db610220867bb2b68a338b5fb8a2893f45fa80 (diff) |
code cleanup: use 'const float[2]' where possible.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/mask_evaluate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mask_evaluate.c b/source/blender/blenkernel/intern/mask_evaluate.c index a2f6b3c1929..a6d1f18d87f 100644 --- a/source/blender/blenkernel/intern/mask_evaluate.c +++ b/source/blender/blenkernel/intern/mask_evaluate.c @@ -318,7 +318,7 @@ static void feather_bucket_check_intersect(float (*feather_points)[2], int tot_f } } -static int feather_bucket_index_from_coord(float co[2], const float min[2], const float bucket_scale[2], +static int feather_bucket_index_from_coord(const float co[2], const float min[2], const float bucket_scale[2], const int buckets_per_side) { int x = (int) ((co[0] - min[0]) * bucket_scale[0]); |