diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_mball.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mball.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_mball.h b/source/blender/blenkernel/BKE_mball.h index c09d3f3fba1..a7706915bc5 100644 --- a/source/blender/blenkernel/BKE_mball.h +++ b/source/blender/blenkernel/BKE_mball.h @@ -61,17 +61,18 @@ float *BKE_mball_make_orco(struct Object *ob, struct ListBase *dispbase); void BKE_mball_properties_copy(struct Scene *scene, struct Object *active_object); -bool BKE_mball_minmax(struct MetaBall *mb, float min[3], float max[3]); -bool BKE_mball_minmax_ex(struct MetaBall *mb, float min[3], float max[3], - float obmat[4][4], const short flag); -bool BKE_mball_center_median(struct MetaBall *mb, float r_cent[3]); -bool BKE_mball_center_bounds(struct MetaBall *mb, float r_cent[3]); +bool BKE_mball_minmax_ex( + const struct MetaBall *mb, float min[3], float max[3], + const float obmat[4][4], const short flag); +bool BKE_mball_minmax(const struct MetaBall *mb, float min[3], float max[3]); +bool BKE_mball_center_median(const struct MetaBall *mb, float r_cent[3]); +bool BKE_mball_center_bounds(const struct MetaBall *mb, float r_cent[3]); void BKE_mball_transform(struct MetaBall *mb, float mat[4][4], const bool do_props); void BKE_mball_translate(struct MetaBall *mb, const float offset[3]); struct MetaElem *BKE_mball_element_add(struct MetaBall *mb, const int type); -int BKE_mball_select_count(struct MetaBall *mb); +int BKE_mball_select_count(const struct MetaBall *mb); int BKE_mball_select_count_multi(struct Object **objects, int objects_len); void BKE_mball_select_all(struct MetaBall *mb); void BKE_mball_select_all_multi(struct Object **objects, int objects_len); |