summaryrefslogtreecommitdiffstats
path: root/Smoke/normals.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-08 20:37:54 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-08 20:37:54 (GMT)
commitc3c41f66a48f40ae3471155ac302cc78175b5eac (patch)
treeb34ad8798cbfa5b784c357df81b00d222c9247e9 /Smoke/normals.c
parent63b3f9cf7f2a5d2822f62c672eabe2e893bac441 (diff)
download2iv35-c3c41f66a48f40ae3471155ac302cc78175b5eac.zip
2iv35-c3c41f66a48f40ae3471155ac302cc78175b5eac.tar.gz
2iv35-c3c41f66a48f40ae3471155ac302cc78175b5eac.tar.bz2
minor fixes
Diffstat (limited to 'Smoke/normals.c')
-rw-r--r--Smoke/normals.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/Smoke/normals.c b/Smoke/normals.c
index 0684b6a..9797d0a 100644
--- a/Smoke/normals.c
+++ b/Smoke/normals.c
@@ -1,3 +1,6 @@
+#include <rfftw.h>
+#include "fluids.h"
+
#include "funcs.h"
#include "normals.h"
@@ -6,6 +9,8 @@
static int normals_render = FALSE;
static int normals_render2 = FALSE;
+static struct point *normals_frame;
+
int normals_get_render(void)
{
@@ -26,3 +31,13 @@ void normals_set_render2(int render_normals)
{
normals_render2 = render_normals;
}
+
+void normals_set_frame(struct point *normals)
+{
+ normals_frame = normals;
+}
+
+struct point *normals_get_frame(void)
+{
+ return normals_frame;
+}