diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 04:26:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 04:26:36 +0400 |
commit | d724d0adfe10db8042f0d4d2a971e73b0bcec902 (patch) | |
tree | a4a0991e70c82190f07b565f1d32abceb44d3203 /intern/smoke | |
parent | beac985ab7b8c1fb62e102dee74d68fa7f3c192d (diff) |
code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations
Diffstat (limited to 'intern/smoke')
-rw-r--r-- | intern/smoke/intern/smoke_API.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/smoke/intern/smoke_API.cpp b/intern/smoke/intern/smoke_API.cpp index b45fef26504..4bbf8e0a82b 100644 --- a/intern/smoke/intern/smoke_API.cpp +++ b/intern/smoke/intern/smoke_API.cpp @@ -28,7 +28,6 @@ * \ingroup smoke */ - #include "FLUID_3D.h" #include "WTURBULENCE.h" @@ -36,6 +35,8 @@ #include <stdlib.h> #include <math.h> +#include "../extern/smoke_API.h" /* to ensure valid prototypes */ + // y in smoke is z in blender extern "C" FLUID_3D *smoke_init(int *res, float *p0, float dtdef) { @@ -283,10 +284,12 @@ extern "C" void smoke_get_ob_velocity(FLUID_3D *fluid, float **x, float **y, flo *z = fluid->_zVelocityOb; } +#if 0 extern "C" unsigned char *smoke_get_obstacle_anim(FLUID_3D *fluid) { return fluid->_obstaclesAnim; } +#endif extern "C" void smoke_turbulence_set_noise(WTURBULENCE *wt, int type) { |