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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.45 by greg, Mon May 20 21:52:06 2013 UTC vs.
Revision 2.47 by greg, Thu Aug 2 18:33:45 2018 UTC

# Line 361 | Line 361 | headline(                              /* process header string */
361          void    *p
362   )
363   {
364 <        char    fmt[32];
364 >        char    fmt[MAXFMTLEN];
365  
366          if (isheadid(s))
367                  return(0);
# Line 757 | Line 757 | movepixel(                             /* reposition image point */
757                  pt[0] += tdir[0]*pos[2];
758                  pt[1] += tdir[1]*pos[2];
759                  pt[2] += tdir[2]*pos[2];
760 <                viewloc(pos, &ourview, pt);
761 <                if (pos[2] <= 0)
760 >                if (viewloc(pos, &ourview, pt) <= 0)
761                          return(0);
762          }
763          if ((pos[0] < 0) | (pos[0] >= 1-FTINY) | (pos[1] < 0) | (pos[1] >= 1-FTINY))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines