diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_mball.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mball.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_mball.h b/source/blender/blenkernel/BKE_mball.h index 0c2a3c28da9..b582e88f9cb 100644 --- a/source/blender/blenkernel/BKE_mball.h +++ b/source/blender/blenkernel/BKE_mball.h @@ -34,7 +34,10 @@ struct Scene; void BKE_mball_free(struct MetaBall *mb); void BKE_mball_init(struct MetaBall *mb); struct MetaBall *BKE_mball_add(struct Main *bmain, const char *name); -void BKE_mball_copy_data(struct Main *bmain, struct MetaBall *mb_dst, const struct MetaBall *mb_src, const int flag); +void BKE_mball_copy_data(struct Main *bmain, + struct MetaBall *mb_dst, + const struct MetaBall *mb_src, + const int flag); struct MetaBall *BKE_mball_copy(struct Main *bmain, const struct MetaBall *mb); void BKE_mball_make_local(struct Main *bmain, struct MetaBall *mb, const bool lib_local); @@ -52,9 +55,11 @@ 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_ex( - const struct MetaBall *mb, float min[3], float max[3], - const float obmat[4][4], const short flag); +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]); @@ -79,7 +84,7 @@ struct Depsgraph; /* Draw Cache */ enum { - BKE_MBALL_BATCH_DIRTY_ALL = 0, + BKE_MBALL_BATCH_DIRTY_ALL = 0, }; void BKE_mball_batch_cache_dirty_tag(struct MetaBall *mb, int mode); void BKE_mball_batch_cache_free(struct MetaBall *mb); @@ -87,5 +92,4 @@ void BKE_mball_batch_cache_free(struct MetaBall *mb); extern void (*BKE_mball_batch_cache_dirty_tag_cb)(struct MetaBall *mb, int mode); extern void (*BKE_mball_batch_cache_free_cb)(struct MetaBall *mb); - #endif |