diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-28 12:29:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-28 12:29:20 +0400 |
commit | 950ed6929792952044a57cad00833bddc8d39f45 (patch) | |
tree | 1211bb92a10b00812512f3613d98fa7f649a120b /source/blender/modifiers/intern/MOD_hook.c | |
parent | 0281ff408d7cda003b086169ae66a61b4cf9a02c (diff) |
code cleanup:
- replace inline face UV center calc.
- use const float[3] for mesh and uv functions.
- remove unused define
Diffstat (limited to 'source/blender/modifiers/intern/MOD_hook.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_hook.c b/source/blender/modifiers/intern/MOD_hook.c index d8fbb6f468f..b115e5bb244 100644 --- a/source/blender/modifiers/intern/MOD_hook.c +++ b/source/blender/modifiers/intern/MOD_hook.c @@ -128,7 +128,7 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, } } -static float hook_falloff(float *co_1, float *co_2, const float falloff_squared, float fac) +static float hook_falloff(const float co_1[3], const float co_2[3], const float falloff_squared, float fac) { if (falloff_squared) { float len_squared = len_squared_v3v3(co_1, co_2); |