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.10 by greg, Sat Jun 25 19:31:14 1994 UTC vs.
Revision 1.11 by greg, Thu Jun 30 11:07:36 1994 UTC

# Line 372 | Line 372 | c_clearall()                   /* empty context tables */
372   }
373  
374  
375 + C_MATERIAL *
376 + c_getmaterial(name)             /* get a named material */
377 + char    *name;
378 + {
379 +        register LUENT  *lp;
380 +
381 +        if ((lp = lu_find(&mat_tab, name)) == NULL)
382 +                return(NULL);
383 +        return((C_MATERIAL *)lp->data);
384 + }
385 +
386 +
387   C_VERTEX *
388   c_getvert(name)                 /* get a named vertex */
389   char    *name;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines