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

Comparing ray/src/px/pcond.c (file contents):
Revision 3.4 by greg, Thu Oct 10 17:09:24 1996 UTC vs.
Revision 3.5 by greg, Fri Oct 11 10:46:57 1996 UTC

# Line 396 | Line 396 | check2do()             /* check histogram to see what isn't worth
396                                          /* determine if acuity adj. useful */
397          if (what2do&DO_ACUITY &&
398                          hacuity(l) >= (inpres.xr/sqrt(ourview.hn2) +
399 <                        inpres.yr/sqrt(ourview.vn2))/(2.*180./PI*2.))
399 >                        inpres.yr/sqrt(ourview.vn2))/(2.*180./PI))
400                  what2do &= ~DO_ACUITY;
401                                          /* color sensitivity loss? */
402 <        if (l >= 6.0)
402 >        if (l >= TopMesopic)
403                  what2do &= ~DO_COLOR;
404   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines