--- ray/src/rt/o_cone.c 1989/04/19 22:24:25 1.2 +++ ray/src/rt/o_cone.c 1990/12/15 15:03:28 1.3 @@ -1,4 +1,4 @@ -/* Copyright (c) 1986 Regents of the University of California */ +/* Copyright (c) 1990 Regents of the University of California */ #ifndef lint static char SCCSid[] = "$SunId$ LBL"; @@ -86,8 +86,7 @@ register RAY *r; r->rop[i] = r->rorg[i] + r->rdir[i]*r->rot; VCOPY(r->ron, co->ad); r->rod = -rdx[2]; - r->rofs = 1.0; setident4(r->rofx); - r->robs = 1.0; setident4(r->robx); + r->rox = NULL; return(1); /* good */ } /* roots for cone, cup, cyl., tube */ @@ -131,8 +130,7 @@ register RAY *r; r->ron[i] = (co->al*r->ron[i] - c*co->ad[i]) /co->sl; r->rod = -DOT(r->rdir, r->ron); - r->rofs = 1.0; setident4(r->rofx); - r->robs = 1.0; setident4(r->robx); + r->rox = NULL; return(1); /* good */ } return(0);