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

Comparing ray/src/rt/source.c (file contents):
Revision 1.23 by greg, Wed Dec 12 22:43:03 1990 UTC vs.
Revision 1.24 by greg, Thu Dec 13 10:44:04 1990 UTC

# Line 47 | Line 47 | marksources()                  /* find and mark source objects */
47  
48                  m = objptr(o->omod);
49  
50 <                if (m->otype != MAT_LIGHT &&
51 <                                m->otype != MAT_ILLUM &&
52 <                                m->otype != MAT_GLOW &&
53 <                                m->otype != MAT_SPOT)
50 >                if (!islight(m->otype))
51                          continue;
52          
53                  if (m->oargs.nfargs != (m->otype == MAT_GLOW ? 4 :
# Line 459 | Line 456 | register RAY  *r;
456                  r->rt = r->rot;
457          }
458   }
462
463
464 o_source() {}           /* intersection with a source is done elsewhere */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines