--- ray/src/rt/o_cone.c 1989/02/02 10:41:31 1.1 +++ 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,6 +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->rox = NULL; return(1); /* good */ } /* roots for cone, cup, cyl., tube */ @@ -129,6 +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->rox = NULL; return(1); /* good */ } return(0);