# | 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 * |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |