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

Comparing ray/src/rt/srcsupp.c (file contents):
Revision 2.14 by greg, Wed Dec 31 19:38:27 2003 UTC vs.
Revision 2.15 by greg, Sun Oct 16 16:04:10 2005 UTC

# Line 109 | Line 109 | OBJREC  *so;
109                  src->sloc[j] /= (double)f->nv;
110          }
111          if (!inface(src->sloc, f))
112 <                objerror(so, USER, "cannot hit center");
112 >                objerror(so, USER, "cannot hit center for source");
113          src->sflags |= SFLAT;
114          VCOPY(src->snorm, f->norm);
115          src->ss2 = f->area;
# Line 195 | Line 195 | OBJREC  *so;
195          co = getcone(so, 0);
196          VCOPY(src->sloc, CO_P0(co));
197          if (CO_R0(co) > 0.0)
198 <                objerror(so, USER, "cannot hit center");
198 >                objerror(so, USER, "cannot hit center for source");
199          src->sflags |= SFLAT;
200          VCOPY(src->snorm, co->ad);
201          src->srad = CO_R1(co);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines