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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 1.17 by greg, Fri May 10 08:51:06 1991 UTC vs.
Revision 1.18 by greg, Wed May 29 11:09:23 1991 UTC

# Line 136 | Line 136 | int  mod;
136                                  raytrans(r);
137                                  return;
138                          }
139 <                        if (m->otype != MAT_ILLUM)
139 >                        if (!islight(m->otype))
140                                  m = &Lamb;
141                  }
142                  (*ofun[m->otype].funp)(m, r);   /* execute function */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines