diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2008-01-10 19:01:54 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2008-01-10 19:01:54 (GMT) |
commit | a6166a87472ccac5b5dbf84b675041a5801f2579 (patch) | |
tree | 0d84ff32c7cc91d52957e5241c74cb9633aea57a /Smoke/glyphs.c | |
parent | e54408d705bea4b154b78686ee1ac4daca2240ca (diff) | |
download | 2iv35-a6166a87472ccac5b5dbf84b675041a5801f2579.zip 2iv35-a6166a87472ccac5b5dbf84b675041a5801f2579.tar.gz 2iv35-a6166a87472ccac5b5dbf84b675041a5801f2579.tar.bz2 |
glyphs and history now use 'new' structure.
Diffstat (limited to 'Smoke/glyphs.c')
-rw-r--r-- | Smoke/glyphs.c | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Smoke/glyphs.c b/Smoke/glyphs.c index 33f941d..c854e20 100644 --- a/Smoke/glyphs.c +++ b/Smoke/glyphs.c @@ -21,7 +21,8 @@ static int glyphs_dataset_color = DATASET_RHO; static int glyphs_dataset_direction = DATASET_RHO;
static float glyphs_alpha = 1.0f;
-static fftw_real *glyphs_frame;
+static fftw_real *glyphs_frame_color;
+struct fftw_real_xy_p glyphs_frame_direction;
void glyphs_set_render(int render_glyphs)
@@ -108,14 +109,24 @@ int glyphs_get_sort(void) return glyphs_sort;
}
-void glyphs_set_frame(fftw_real *frame)
+void glyphs_set_frame_color(fftw_real *frame)
{
- glyphs_frame = frame;
+ glyphs_frame_color = frame;
}
-fftw_real *glyphs_get_frame(void)
+fftw_real *glyphs_get_frame_color(void)
{
- return glyphs_frame;
+ return glyphs_frame_color;
+}
+
+void glyphs_set_frames_direction(struct fftw_real_xy_p frame)
+{
+ glyphs_frame_direction = frame;
+}
+
+struct fftw_real_xy_p glyphs_get_frames_direction(void)
+{
+ return glyphs_frame_direction;
}
|