diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-18 23:30:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-18 23:30:27 +0400 |
commit | e30ed91b9011b6eb5fae2932c002f83936c31d9d (patch) | |
tree | 4d2e598a44241ca4c53736f7cb5d06d7558ec76a /source/blender/blenkernel/BKE_mball.h | |
parent | 33fa4364475898481093e6f60793b44d50488963 (diff) |
code cleanup: use BLI math funcs for metaballs, also remove MB_POINT struct and just use float[3] instead.
Diffstat (limited to 'source/blender/blenkernel/BKE_mball.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mball.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_mball.h b/source/blender/blenkernel/BKE_mball.h index 356f2c8901c..913e8653b9b 100644 --- a/source/blender/blenkernel/BKE_mball.h +++ b/source/blender/blenkernel/BKE_mball.h @@ -57,8 +57,8 @@ float *BKE_mball_make_orco(struct Object *ob, struct ListBase *dispbase); void BKE_mball_properties_copy(struct Scene *scene, struct Object *active_object); int BKE_mball_minmax(struct MetaBall *mb, float min[3], float max[3]); -int BKE_mball_center_median(struct MetaBall *mb, float cent[3]); -int BKE_mball_center_bounds(struct MetaBall *mb, float cent[3]); +int BKE_mball_center_median(struct MetaBall *mb, float r_cent[3]); +int BKE_mball_center_bounds(struct MetaBall *mb, float r_cent[3]); void BKE_mball_translate(struct MetaBall *mb, float offset[3]); struct MetaElem *BKE_mball_element_add(struct MetaBall *mb, const int type); |