summaryrefslogtreecommitdiffstats
path: root/Smoke/streamlines.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/streamlines.c
parentb3a5933d58d67788ece2a3a12f6c073fd9c33261 (diff)
download2iv35-6f19aad735759adc16fe149557d275880250cac1.zip
2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.gz
2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.bz2
replaced int type with float
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r--Smoke/streamlines.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c
index 2d3072b..9be9c38 100644
--- a/Smoke/streamlines.c
+++ b/Smoke/streamlines.c
@@ -18,7 +18,7 @@ static int streamlines_num_colors = PALETTE_MAXCOLORS;
static int streamlines_colormap = PALETTE_BLACKWHITE;
-static int streamlines_alpha = 1.0f;
+static float streamlines_alpha = 1.0f;
static fftw_real *streamlines_frame;
@@ -53,12 +53,12 @@ int streamlines_get_colormap(void)
return streamlines_colormap;
}
-void streamlines_set_alpha(int alpha)
+void streamlines_set_alpha(float alpha)
{
streamlines_alpha = alpha;
}
-int streamlines_get_alpha(void)
+float streamlines_get_alpha(void)
{
return streamlines_alpha;
}