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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.98 by greg, Fri Oct 31 02:16:12 2025 UTC vs.
Revision 2.99 by greg, Sat Dec 20 02:09:11 2025 UTC

# Line 570 | Line 570 | rayreject(             /* check if candidate hit is worse than cu
570          } else if (r->rod <= 0) {
571                  return(0);              /* new hit front, old did not */
572          }
573 <                        /* earlier modifier definition wins tie */
574 <        return (r->ro->omod >= o->omod);
573 >                        /* later modifier definition wins tie */
574 >        return(r->ro->omod >= o->omod);
575   }
576  
577   void

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)