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.19 by greg, Thu Jan 11 11:06:22 1990 UTC vs.
Revision 1.21 by greg, Tue Mar 27 11:40:13 1990 UTC

# Line 395 | Line 395 | char  *p;                      /* data for f */
395          }
396                                          /* weighted hit rate */
397          hwt = hit2 / test2;
398 < #ifdef notdef
398 > #ifdef DEBUG
399          sprintf(errmsg, "%d tested, %d untested, %f hit rate\n",
400                          sn, ncnts-sn, hwt);
401          eputs(errmsg);
# Line 453 | Line 453 | register RAY  *r;
453                                    m->oargs.farg[2]);
454                                                  /* modify value */
455                  multcolor(r->rcol, r->pcol);
456 +                                                /* assign distance */
457 +                r->rt = r->rot;
458          }
459   }
460  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines