# | Line 80 | Line 80 | register RAY *r; | |
---|---|---|
80 | /* check for penetration */ | |
81 | for (rp = r; rp->parent != NULL; rp = rp->parent) | |
82 | if (!(rp->rtype & RAYREFL) && rp->parent->ro != NULL | |
83 | < | && inset(modset, rp->parent->ro->omod)) |
83 | > | && inset(modset, rp->parent->ro->omod)) { |
84 | if (rp->parent->rod > 0.0) | |
85 | inside++; | |
86 | else | |
87 | inside--; | |
88 | + | } |
89 | if (inside > 0) { /* we just hit the object */ | |
90 | flipsurface(r); | |
91 | return(rayshade(r, lastmod(obj, m->oargs.sarg[0]))); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |