diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-20 11:42:31 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-20 11:42:31 (GMT) |
commit | b3a5933d58d67788ece2a3a12f6c073fd9c33261 (patch) | |
tree | 88ba2f57189d0daf341804a468a2dd0baf2fec1b /Smoke/template.c | |
parent | 465c136f94ef4e48d0705e94d8fdc522b901882f (diff) | |
download | 2iv35-b3a5933d58d67788ece2a3a12f6c073fd9c33261.zip 2iv35-b3a5933d58d67788ece2a3a12f6c073fd9c33261.tar.gz 2iv35-b3a5933d58d67788ece2a3a12f6c073fd9c33261.tar.bz2 |
converted alpha from int to float
Diffstat (limited to 'Smoke/template.c')
-rw-r--r-- | Smoke/template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Smoke/template.c b/Smoke/template.c index 2b594e9..f95c0a3 100644 --- a/Smoke/template.c +++ b/Smoke/template.c @@ -18,7 +18,7 @@ static int template_num_colors = PALETTE_MAXCOLORS; static int template_colormap = PALETTE_BLACKWHITE; -static int template_alpha = 1.0f; +static float template_alpha = 1.0f; static fftw_real *template_frame; @@ -53,12 +53,12 @@ int template_get_colormap(void) return template_colormap; } -void template_set_alpha(int alpha) +void template_set_alpha(float alpha) { template_alpha = alpha; } -int template_get_alpha(void) +float template_get_alpha(void) { return template_alpha; } |