# | Line 16 | Line 16 | static const char RCSid[] = "$Id$"; | |
---|---|---|
16 | #include "rtprocess.h" /* win_popen() */ | |
17 | #include "paths.h" | |
18 | #include "ray.h" | |
19 | – | #include "source.h" |
19 | #include "ambient.h" | |
20 | #include "otypes.h" | |
21 | + | #include "otspecial.h" |
22 | #include "rpaint.h" | |
23 | ||
24 | extern int psample; /* pixel sample size */ | |
# | Line 817 | Line 817 | traceray( /* trace a single ray */ | |
817 | else { | |
818 | sprintf(buf, "at (%.6g %.6g %.6g) (%.6g)", | |
819 | thisray.rop[0], thisray.rop[1], | |
820 | < | thisray.rop[2], thisray.rt); |
820 | > | thisray.rop[2], raydistance(&thisray)); |
821 | (*dev->comout)(buf); | |
822 | } | |
823 | (*dev->comin)(buf, NULL); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |