ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rtrace.c
(Generate patch)

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.87 by greg, Wed Mar 4 01:23:31 2020 UTC vs.
Revision 2.88 by greg, Thu Mar 12 17:19:18 2020 UTC

# Line 650 | Line 650 | oputp(                         /* print point */
650          RAY  *r
651   )
652   {
653 <        if (r->rot < FHUGE)
653 >        if (r->rot < FHUGE*.99)
654                  (*putreal)(r->rop, 3);
655          else
656                  (*putreal)(vdummy, 3);
# Line 662 | Line 662 | oputN(                         /* print unperturbed normal */
662          RAY  *r
663   )
664   {
665 <        if (r->rot < FHUGE) {
665 >        if (r->rot < FHUGE*.99) {
666                  if (r->rflips & 1) {    /* undo any flippin' flips */
667                          FVECT   unrm;
668                          unrm[0] = -r->ron[0];
# Line 683 | Line 683 | oputn(                         /* print perturbed normal */
683   {
684          FVECT  pnorm;
685  
686 <        if (r->rot >= FHUGE) {
686 >        if (r->rot >= FHUGE*.99) {
687                  (*putreal)(vdummy, 3);
688                  return;
689          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines