| # | Line 41 | Line 41 | o_face( /* compute intersection with polygonal face * | |
|---|---|---|
| 41 | ||
| 42 | t = (DOT(r->rorg, f->norm) - f->offset) / rdot; | |
| 43 | ||
| 44 | < | if (rayreject(o, r, t)) /* previous hit is better? */ |
| 44 | > | if (rayreject(o, r, t, rdot)) /* previous hit is better? */ |
| 45 | return(0); | |
| 46 | /* compute intersection */ | |
| 47 | VSUM(pisect, r->rorg, r->rdir, t); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |