| 1 |
< |
/* Copyright (c) 1995 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
| 4 |
> |
static char SCCSid[] = "$SunId$ SGI"; |
| 5 |
|
#endif |
| 6 |
|
|
| 7 |
|
/* |
| 538 |
|
/* check for passed illum */ |
| 539 |
|
if (passillum(m, r)) { |
| 540 |
|
if (m->oargs.nsargs && strcmp(m->oargs.sarg[0], VOIDID)) |
| 541 |
< |
return(rayshade(r, modifier(m->oargs.sarg[0]))); |
| 541 |
> |
return(rayshade(r,lastmod(objndx(m),m->oargs.sarg[0]))); |
| 542 |
|
raytrans(r); |
| 543 |
|
return(1); |
| 544 |
|
} |