summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/fluids.c')
-rw-r--r--Smoke/fluids.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Smoke/fluids.c b/Smoke/fluids.c
index c3c776a..1613edf 100644
--- a/Smoke/fluids.c
+++ b/Smoke/fluids.c
@@ -364,7 +364,6 @@ float get_dataset(int index)
fftw_real cell_x = (fftw_real)winWidth / (fftw_real)(DIM + 1); // Grid cell width
fftw_real cell_y = (fftw_real)winHeight / (fftw_real)(DIM + 1); // Grid cell heigh
float return_value, par_der_x, par_der_y;
- static int cur_fr = 0;
return_value = 0;
@@ -395,6 +394,7 @@ float get_dataset(int index)
return return_value;
}
+#if 0
void set_autoscaling(void)
{
int k;
@@ -414,11 +414,11 @@ void set_autoscaling(void)
//threshold = (scale_min + scale_max) / 2;
}
+#endif
-fluids_insert_smoke(int x, int y)
+void fluids_insert_smoke(int x, int y)
{
int xi,yi,X,Y; double dx, dy, len;
- int clamp_scaled_min, clamp_scaled_max;
static int lx=0,ly=0; //remembers last mouse location
/* Density calculations etc are only computed on area's below the slider */