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

Comparing ray/src/rt/colortab.c (file contents):
Revision 1.12 by greg, Fri Feb 9 09:14:52 1990 UTC vs.
Revision 1.13 by greg, Fri Feb 23 10:08:33 1990 UTC

# Line 162 | Line 162 | BYTE   *rmap, *gmap, *bmap;
162   }
163  
164  
165 + map_color(rgb, col)             /* map a color to a byte triplet */
166 + BYTE    rgb[3];
167 + COLOR   col;
168 + {
169 +        rgb[RED] = map_col(col,RED);
170 +        rgb[GRN] = map_col(col,GRN);
171 +        rgb[BLU] = map_col(col,BLU);
172 + }
173 +
174 +
175   static
176   cut(tree, level, box, c0, c1)           /* partition color space */
177   register CNODE  *tree;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines