diff options
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) { |