summaryrefslogtreecommitdiffstats
path: root/Smoke/glyphs.h
blob: 200d603419ba6cd8849e69088c522395566a9ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _GLYPHS_H
#define _GLYPHS_H

#define GLYPH_LINES        0
#define GLYPH_TRIANGLES    1
#define GLYPH_CONES        2
#define GLYPH_ARROWS       3
#define GLYPH_QUAKE        4

void glyphs_set_render(int render_glyphs);
int glyphs_get_render(void);

void glyphs_set_num_colors(int num_colors);
int glyphs_get_num_colors(void);

void glyphs_set_colormap(int colormap);
int glyphs_get_colormap(void);

void glyphs_set_alpha(float alpha);
float glyphs_get_alpha(void);

void glyphs_set_dataset_color(int dataset);
int glyphs_get_dataset_color(void);

void glyphs_set_dataset_direction(int dataset);
int glyphs_get_dataset_direction(void);

void glyphs_set_sort(int sort);
int glyphs_get_sort(void);

void glyphs_set_frame(fftw_real *frame);
fftw_real *glyphs_get_frame(void);

struct color4f glyphs_get_color(float value);
#endif