]> Pileus Git - aweather/commitdiff
Make radar more opaque
authorAndy Spencer <andy753421@gmail.com>
Thu, 28 Jan 2010 09:54:19 +0000 (09:54 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 28 Jan 2010 09:54:19 +0000 (09:54 +0000)
src/plugins/radar.c

index 55cebdb0c4a36289231a52708695411a0bfd406b..e4752006c24180bd8d36891f085b99bf389f2ed1 100644 (file)
@@ -56,7 +56,7 @@ static void _bscan_sweep(GisPluginRadar *self, Sweep *sweep, colormap_t *colorma
                        buf[buf_i+0] = colormap->data[val][0];
                        buf[buf_i+1] = colormap->data[val][1];
                        buf[buf_i+2] = colormap->data[val][2];
-                       buf[buf_i+3] = colormap->data[val][3]/2; // TESTING
+                       buf[buf_i+3] = colormap->data[val][3]*0.75; // TESTING
                        if (val == BADVAL     || val == RFVAL      || val == APFLAG ||
                            val == NOTFOUND_H || val == NOTFOUND_V || val == NOECHO) {
                                buf[buf_i+3] = 0x00; // transparent