| # | Line 86 | Line 86 | register RAY *r; | |
|---|---|---|
| 86 | r->rop[i] = r->rorg[i] + r->rdir[i]*r->rot; | |
| 87 | VCOPY(r->ron, co->ad); | |
| 88 | r->rod = -rdx[2]; | |
| 89 | + | r->rofs = 1.0; setident4(r->rofx); |
| 90 | + | r->robs = 1.0; setident4(r->robx); |
| 91 | return(1); /* good */ | |
| 92 | } | |
| 93 | /* roots for cone, cup, cyl., tube */ | |
| # | Line 129 | Line 131 | register RAY *r; | |
| 131 | r->ron[i] = (co->al*r->ron[i] - c*co->ad[i]) | |
| 132 | /co->sl; | |
| 133 | r->rod = -DOT(r->rdir, r->ron); | |
| 134 | + | r->rofs = 1.0; setident4(r->rofx); |
| 135 | + | r->robs = 1.0; setident4(r->robx); |
| 136 | return(1); /* good */ | |
| 137 | } | |
| 138 | return(0); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |