# | Line 41 | Line 41 | register RAY *r; | |
---|---|---|
41 | if (rdot <= FTINY && rdot >= -FTINY) /* ray parallels plane */ | |
42 | t = FHUGE; | |
43 | else | |
44 | < | t = (DOT(r->rorg, f->norm) - f->const) / rdot; |
44 | > | t = (DOT(r->rorg, f->norm) - f->offset) / rdot; |
45 | ||
46 | if (t <= FTINY || t >= r->rot) /* not good enough */ | |
47 | return(0); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |