From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: ClangFormat: apply to source, most of intern Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat --- source/blender/blenkernel/BKE_mball.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'source/blender/blenkernel/BKE_mball.h') 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 -- cgit v1.2.3