summaryrefslogtreecommitdiffstats
path: root/Smoke/interact.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-03 16:33:47 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-03 16:33:47 (GMT)
commit3d764e6b458d897d2959771b46c67addbcea8b70 (patch)
treecfdb03310238ff2301ff32516f602950fe742687 /Smoke/interact.c
parent8addeabeb2498955ebb7b62f810fbf2781bcae59 (diff)
download2iv35-3d764e6b458d897d2959771b46c67addbcea8b70.zip
2iv35-3d764e6b458d897d2959771b46c67addbcea8b70.tar.gz
2iv35-3d764e6b458d897d2959771b46c67addbcea8b70.tar.bz2
code cleanup and fixes
Diffstat (limited to 'Smoke/interact.c')
-rw-r--r--Smoke/interact.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Smoke/interact.c b/Smoke/interact.c
index 13e9a6b..3e450a0 100644
--- a/Smoke/interact.c
+++ b/Smoke/interact.c
@@ -2,6 +2,7 @@
#include "fluids.h"
#include "renderer_gl.h"
+#include "colormap.h"
#define MOUSE_SMOKE 0
#define MOUSE_SCALE_MIN 1
@@ -109,5 +110,6 @@ void drag(int mx, int my)
default:
break;
}
+ printf("mouse: %f\n", (float)mx /winWidth);
}
}