diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/blenkernel/BKE_mball.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
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
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 |