--- ray/src/rt/source.c 1990/01/11 11:06:22 1.19 +++ ray/src/rt/source.c 1990/03/27 11:40:13 1.21 @@ -395,7 +395,7 @@ char *p; /* data for f */ } /* weighted hit rate */ hwt = hit2 / test2; -#ifdef notdef +#ifdef DEBUG sprintf(errmsg, "%d tested, %d untested, %f hit rate\n", sn, ncnts-sn, hwt); eputs(errmsg); @@ -453,6 +453,8 @@ register RAY *r; m->oargs.farg[2]); /* modify value */ multcolor(r->rcol, r->pcol); + /* assign distance */ + r->rt = r->rot; } }