summaryrefslogtreecommitdiffstats
path: root/Smoke/divergence.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-20 11:52:11 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-20 11:52:11 (GMT)
commit6f19aad735759adc16fe149557d275880250cac1 (patch)
treea3b445665d02cc52770e9c598b917a6ab3878586 /Smoke/divergence.c
parentb3a5933d58d67788ece2a3a12f6c073fd9c33261 (diff)
download2iv35-6f19aad735759adc16fe149557d275880250cac1.zip
2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.gz
2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.bz2
replaced int type with float
Diffstat (limited to 'Smoke/divergence.c')
-rw-r--r--Smoke/divergence.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Smoke/divergence.c b/Smoke/divergence.c
index 516aa8d..39162cb 100644
--- a/Smoke/divergence.c
+++ b/Smoke/divergence.c
@@ -18,7 +18,7 @@ static int divergence_num_colors = PALETTE_MAXCOLORS;
static int divergence_colormap = PALETTE_BLACKWHITE;
-static int divergence_alpha = 1.0f;
+static float divergence_alpha = 1.0f;
static fftw_real *divergence_frame;
@@ -54,12 +54,12 @@ int divergence_get_colormap(void)
return divergence_colormap;
}
-void divergence_set_alpha(int alpha)
+void divergence_set_alpha(float alpha)
{
divergence_alpha = alpha;
}
-int divergence_get_alpha(void)
+float divergence_get_alpha(void)
{
return divergence_alpha;
}