ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/falsecolor.c
(Generate patch)

Comparing ray/src/common/falsecolor.c (file contents):
Revision 3.8 by greg, Thu Jul 3 03:30:21 2008 UTC vs.
Revision 3.9 by greg, Thu Jul 3 03:35:10 2008 UTC

# Line 89 | Line 89 | fcLinearMapping(FCstruct *fcs, TMstruct *tms, double p
89                          (0 > pctile) | (pctile >= 50))
90                  return(TM_E_ILLEGAL);
91          i = HISTI(tms->hbrmin);
92 <        brt0 = MINBRT + HISTEP/2 + i*HISTEP;
92 >        brt0 = HISTV(i);
93          histlen = HISTI(tms->hbrmax) + 1 - i;
94          histot = 0;
95          for (i = histlen; i--; )
# Line 115 | Line 115 | fcLogMapping(FCstruct *fcs, TMstruct *tms, double pcti
115                          (.0 > pctile) | (pctile >= 50.))
116                  return(TM_E_ILLEGAL);
117          i = HISTI(tms->hbrmin);
118 <        brt0 = MINBRT + HISTEP/2 + i*HISTEP;
118 >        brt0 = HISTV(i);
119          histlen = HISTI(tms->hbrmax) + 1 - i;
120          histot = 0;
121          for (i = histlen; i--; )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines