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

Comparing ray/src/rt/ambcomp.c (file contents):
Revision 2.11 by schorsch, Mon Jul 21 22:30:19 2003 UTC vs.
Revision 2.12 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 34 | Line 34 | AMBSAMP  *d1, *d2;
34   {
35          register int  c;
36  
37 <        if (c = d1->t - d2->t)
37 >        if ( (c = d1->t - d2->t) )
38                  return(c);
39          return(d1->p - d2->p);
40   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines