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

Comparing ray/src/common/image.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:34:34 1989 UTC vs.
Revision 1.2 by greg, Fri Oct 20 16:53:03 1989 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  "standard.h"
14  
15 #include  "color.h"
16
15   #include  "view.h"
16  
17   VIEW  stdview = STDVIEW(512);           /* default view parameters */
20
21
22 bigdiff(c1, c2, md)                     /* c1 delta c2 > md? */
23 register COLOR  c1, c2;
24 double  md;
25 {
26        register int  i;
27
28        for (i = 0; i < 3; i++)
29                if (colval(c1,i)-colval(c2,i) > md*colval(c2,i) ||
30                        colval(c2,i)-colval(c1,i) > md*colval(c1,i))
31                        return(1);
32        return(0);
33 }
18  
19  
20   char *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines