# | Line 793 | Line 793 | traceray( /* trace a single ray */ | |
---|---|---|
793 | matspec[0] = '\0'; | |
794 | if (thisray.ro->omod != OVOID) { | |
795 | mod = objptr(thisray.ro->omod); | |
796 | < | mat = findmaterial(mod); |
796 | > | mat = findmaterial(thisray.ro); |
797 | } | |
798 | if (thisray.rod < 0.0) | |
799 | strcpy(matspec, "back of "); | |
# | Line 812 | Line 812 | traceray( /* trace a single ray */ | |
812 | ofun[ino->otype].funame, ino->oname); | |
813 | (*dev->comout)(buf); | |
814 | (*dev->comin)(buf, NULL); | |
815 | < | if (thisray.rot >= FHUGE) |
815 | > | if (thisray.rot >= FHUGE*.99) |
816 | (*dev->comout)("at infinity"); | |
817 | else { | |
818 | sprintf(buf, "at (%.6g %.6g %.6g) (%.6g)", |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |