summaryrefslogtreecommitdiffstats
path: root/Smoke/normals.c
diff options
context:
space:
mode:
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;
+}