[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: typo in default jet colormap
From: |
David Bateman |
Subject: |
Re: typo in default jet colormap |
Date: |
Fri, 28 Sep 2007 12:30:59 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Kai Habel wrote:
> Hello,
>
> I have noticed a typo in the new default colormap. It causes a black
> color for the first 1/8 of colormap entries.
>
> Kai
>
> 2007-09-27 Kai Habel <address@hidden>
>
> * graphics.h.in (colormap_property::colormap_property): fix typo
>
> ------------------------------------------------------------------------
>
> --- graphics.h.in 2007-09-27 23:34:47.000000000 +0000
> +++ graphics.h.in.new 2007-09-27 23:05:32.000000000 +0000
> @@ -322,7 +322,7 @@
> else if (x >= 5.0/8.0 && x < 7.0/8.0)
> cmap(i,1) = -4.0 * x + 7.0/2.0;
>
> - if (x < 1/8)
> + if (x < 1.0/8.0)
> cmap(i,2) = 4.0 * x + 1.0/2.0;
> else if (x >= 1.0/8.0 && x < 3.0/8.0)
> cmap(i,2) = 1.0;
>
>
I applied this
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary