diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-20 11:52:11 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-20 11:52:11 (GMT) |
commit | 6f19aad735759adc16fe149557d275880250cac1 (patch) | |
tree | a3b445665d02cc52770e9c598b917a6ab3878586 /Smoke/flowvis.c | |
parent | b3a5933d58d67788ece2a3a12f6c073fd9c33261 (diff) | |
download | 2iv35-6f19aad735759adc16fe149557d275880250cac1.zip 2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.gz 2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.bz2 |
replaced int type with float
Diffstat (limited to 'Smoke/flowvis.c')
-rw-r--r-- | Smoke/flowvis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Smoke/flowvis.c b/Smoke/flowvis.c index b6d5c77..151d80b 100644 --- a/Smoke/flowvis.c +++ b/Smoke/flowvis.c @@ -18,7 +18,7 @@ static int flowvis_num_colors = PALETTE_MAXCOLORS; static int flowvis_colormap = PALETTE_BLACKWHITE; -static int flowvis_alpha = 1.0f; +static float flowvis_alpha = 1.0f; static fftw_real *flowvis_frame; @@ -53,12 +53,12 @@ int flowvis_get_colormap(void) return flowvis_colormap; } -void flowvis_set_alpha(int alpha) +void flowvis_set_alpha(float alpha) { flowvis_alpha = alpha; } -int flowvis_get_alpha(void) +float flowvis_get_alpha(void) { return flowvis_alpha; } |