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

Comparing ray/src/cv/mgflib/context.c (file contents):
Revision 1.6 by greg, Fri Jun 24 17:15:47 1994 UTC vs.
Revision 1.7 by greg, Sat Jun 25 09:48:01 1994 UTC

# Line 363 | Line 363 | char   *name;
363   }
364  
365  
366 + C_COLOR *
367 + c_getcolor(name)                /* get a named color */
368 + char    *name;
369 + {
370 +        register LUENT  *lp;
371 +
372 +        if ((lp = lu_find(&clr_tab, name)) == NULL)
373 +                return(NULL);
374 +        return((C_COLOR *)lp->data);
375 + }
376 +
377 +
378   int
379   c_isgrey(clr)                   /* check if color is grey */
380   register C_COLOR        *clr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines