summaryrefslogtreecommitdiffstats
path: root/Smoke/template.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-20 11:11:09 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-20 11:11:09 (GMT)
commit59efc5c48768bc23af3b910f42493a8f8b0e259c (patch)
tree12b07a7eebe3a2c5e3638130ab51dd9cdf115087 /Smoke/template.c
parent5eb10584ed674276ef8d566089bda6c049584eeb (diff)
download2iv35-59efc5c48768bc23af3b910f42493a8f8b0e259c.zip
2iv35-59efc5c48768bc23af3b910f42493a8f8b0e259c.tar.gz
2iv35-59efc5c48768bc23af3b910f42493a8f8b0e259c.tar.bz2
added fftw frame pointer
Diffstat (limited to 'Smoke/template.c')
-rw-r--r--Smoke/template.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Smoke/template.c b/Smoke/template.c
index 81f2ed3..f311473 100644
--- a/Smoke/template.c
+++ b/Smoke/template.c
@@ -4,6 +4,8 @@
#endif
+#include <rfftw.h>
+
#include "funcs.h"
#include "palette.h"
@@ -49,6 +51,16 @@ int template_get_colormap(void)
return template_colormap;
}
+void template_set_frame(fftw_real *frame)
+{
+ template_frame = frame;
+}
+
+fftw_real *template_get_frame(void)
+{
+ return template_frame;
+}
+
struct color4f template_get_color(float value)
{