# | Line 47 | Line 47 | register RAY *r; | |
---|---|---|
47 | { | |
48 | /* check if source ray */ | |
49 | if (r->rsrc >= 0 && source[r->rsrc].so != r->ro) | |
50 | < | return; /* got the wrong guy */ |
50 | > | return(1); /* got the wrong guy */ |
51 | /* compute first projection */ | |
52 | if (m->otype == MAT_DIRECT1 || | |
53 | (r->rsrc < 0 || source[r->rsrc].sa.sv.pn == 0)) | |
# | Line 56 | Line 56 | register RAY *r; | |
56 | if (m->otype == MAT_DIRECT2 && | |
57 | (r->rsrc < 0 || source[r->rsrc].sa.sv.pn == 1)) | |
58 | redirect(m, r, 1); | |
59 | + | return(1); |
60 | } | |
61 | ||
62 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |