# | Line 285 | Line 285 | double dmax; | |
---|---|---|
285 | thisray.rmax = dmax; | |
286 | rayorigin(&thisray, NULL, PRIMARY, 1.0); | |
287 | if (castonly) { | |
288 | < | if (!localhit(&thisray, &thescene)) |
288 | > | if (!localhit(&thisray, &thescene)) { |
289 | if (thisray.ro == &Aftplane) { /* clipped */ | |
290 | thisray.ro = NULL; | |
291 | thisray.rot = FHUGE; | |
292 | } else | |
293 | sourcehit(&thisray); | |
294 | + | } |
295 | } else | |
296 | rayvalue(&thisray); | |
297 | printvals(&thisray); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |