Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/BKE_smoke.h')
-rw-r--r--source/blender/blenkernel/BKE_smoke.h28
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);