diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2008-01-10 19:01:54 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2008-01-10 19:01:54 (GMT) |
commit | a6166a87472ccac5b5dbf84b675041a5801f2579 (patch) | |
tree | 0d84ff32c7cc91d52957e5241c74cb9633aea57a /Smoke/colormap.c | |
parent | e54408d705bea4b154b78686ee1ac4daca2240ca (diff) | |
download | 2iv35-a6166a87472ccac5b5dbf84b675041a5801f2579.zip 2iv35-a6166a87472ccac5b5dbf84b675041a5801f2579.tar.gz 2iv35-a6166a87472ccac5b5dbf84b675041a5801f2579.tar.bz2 |
glyphs and history now use 'new' structure.
Diffstat (limited to 'Smoke/colormap.c')
-rw-r--r-- | Smoke/colormap.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Smoke/colormap.c b/Smoke/colormap.c index c3a5c8f..c7b5f61 100644 --- a/Smoke/colormap.c +++ b/Smoke/colormap.c @@ -157,28 +157,6 @@ fftw_real *colormap_get_frame(void) } - -static void colormap_autoscale(void) -{ - if (colormap_autoscaling) { - int k, DIM; - float value, scale_min, scale_max; - - scale_min = scale_max = get_dataset(0); - colormap_scale_min = scale_min; - colormap_scale_max = scale_max; - DIM = fluids_get_dim(); - - for (k = 1; k < DIM * DIM; k++) - { - value = get_dataset(k); - - if (scale_min > value) { colormap_scale_min = value; } - if (scale_max < value) { colormap_scale_max = value; } - } - } -} - static float remap(float value) { value -= colormap_scale_min; |