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/colormap.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/colormap.c')
-rw-r--r-- | Smoke/colormap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Smoke/colormap.c b/Smoke/colormap.c index b8097ee..565b815 100644 --- a/Smoke/colormap.c +++ b/Smoke/colormap.c @@ -6,7 +6,7 @@ #include <math.h> -#include <fftw.h> +#include <rfftw.h> #include "funcs.h" #include "palette.h" @@ -18,7 +18,7 @@ static int colormap_colormap = PALETTE_BLACKWHITE; static int colormap_num_colors = PALETTE_MAXCOLORS; -static int colormap_alpha = 1.0f; +static float colormap_alpha = 1.0f; static int colormap_scaling = FALSE; @@ -55,12 +55,12 @@ int colormap_get_colormap(void) return colormap_colormap; } -void colormap_set_alpha(int alpha) +void colormap_set_alpha(float alpha) { colormap_alpha = alpha; } -int colormap_get_alpha(void) +float colormap_get_alpha(void) { return colormap_alpha; } |