diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2009-07-31 00:12:40 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2009-07-31 00:12:40 +0400 |
commit | dbba273371ff3e827f5b3cfc0aaf967222188611 (patch) | |
tree | 659b222a437a1105b4dad34d217bdb2721e525e0 /intern/smoke/extern | |
parent | 1dbd47f4c3794585372f1de1551c790e678569c2 (diff) |
Smoke: fixing some compile warning reported by Ton and one compile erro for gcc 4.4.1 reported by mrunion
Diffstat (limited to 'intern/smoke/extern')
-rw-r--r-- | intern/smoke/extern/smoke_API.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/smoke/extern/smoke_API.h b/intern/smoke/extern/smoke_API.h index 491e065d3ac..e5b2d3deab3 100644 --- a/intern/smoke/extern/smoke_API.h +++ b/intern/smoke/extern/smoke_API.h @@ -32,7 +32,7 @@ extern "C" { #endif -struct FLUID_3D *smoke_init(int *res, int amplify, float *p0, float *p1, float dt); +struct FLUID_3D *smoke_init(int *res, int amplify, float *p0, float dt); void smoke_free(struct FLUID_3D *fluid); void smoke_initBlenderRNA(struct FLUID_3D *fluid, float *alpha, float *beta); @@ -48,8 +48,8 @@ float *smoke_get_velocity_z(struct FLUID_3D *fluid); unsigned char *smoke_get_obstacle(struct FLUID_3D *fluid); -size_t smoke_get_index(int x, int max_x, int y, int max_y, int z, int max_z); -size_t smoke_get_index2d(int x, int max_x, int y, int max_y, int z, int max_z); +size_t smoke_get_index(int x, int max_x, int y, int max_y, int z); +size_t smoke_get_index2d(int x, int max_x, int y); void smoke_set_noise(struct FLUID_3D *fluid, int type); @@ -59,4 +59,4 @@ void smoke_get_bigres(struct FLUID_3D *fluid, int *res); } #endif -#endif /* SMOKE_API_H_ */ +#endif /* SMOKE_API_H_ */
\ No newline at end of file |