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_smoke.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_smoke.h')
-rw-r--r-- | source/blender/blenkernel/BKE_smoke.h | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/source/blender/blenkernel/BKE_smoke.h b/source/blender/blenkernel/BKE_smoke.h index a3326c433c4..10632d47203 100644 --- a/source/blender/blenkernel/BKE_smoke.h +++ b/source/blender/blenkernel/BKE_smoke.h @@ -28,21 +28,31 @@ struct Scene; struct SmokeDomainSettings; struct SmokeModifierData; -typedef float (*bresenham_callback)(float *result, float *input, int res[3], int *pixel, float *tRay, float correct); +typedef float (*bresenham_callback)( + float *result, float *input, int res[3], int *pixel, float *tRay, float correct); -struct Mesh *smokeModifier_do( - struct SmokeModifierData *smd, struct Depsgraph *depsgraph, - struct Scene *scene, - struct Object *ob, struct Mesh *me); +struct Mesh *smokeModifier_do(struct SmokeModifierData *smd, + struct Depsgraph *depsgraph, + struct Scene *scene, + struct Object *ob, + struct Mesh *me); void smokeModifier_free(struct SmokeModifierData *smd); void smokeModifier_reset(struct SmokeModifierData *smd); void smokeModifier_reset_turbulence(struct SmokeModifierData *smd); void smokeModifier_createType(struct SmokeModifierData *smd); -void smokeModifier_copy(const struct SmokeModifierData *smd, struct SmokeModifierData *tsmd, const int flag); - -void BKE_smoke_reallocate_fluid(struct SmokeDomainSettings *sds, float dx, int res[3], int free_old); -void BKE_smoke_reallocate_highres_fluid(struct SmokeDomainSettings *sds, float dx, int res[3], int free_old); +void smokeModifier_copy(const struct SmokeModifierData *smd, + struct SmokeModifierData *tsmd, + const int flag); + +void BKE_smoke_reallocate_fluid(struct SmokeDomainSettings *sds, + float dx, + int res[3], + int free_old); +void BKE_smoke_reallocate_highres_fluid(struct SmokeDomainSettings *sds, + float dx, + int res[3], + int free_old); float BKE_smoke_get_velocity_at(struct Object *ob, float position[3], float velocity[3]); int BKE_smoke_get_data_flags(struct SmokeDomainSettings *sds); |