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 1.30 by greg, Mon Oct 15 11:01:48 1990 UTC vs.
Revision 1.32 by greg, Mon Feb 11 18:10:56 1991 UTC

# Line 465 | Line 465 | FVECT  pos;
465   {
466          FVECT   pt, direc;
467          
468 +        if (pos[2] <= 0)                /* empty pixel */
469 +                return(-1);
470          if (hasmatrix) {
471                  pos[0] += theirview.hoff - .5;
472                  pos[1] += theirview.voff - .5;
# Line 505 | Line 507 | int    samp;
507   {
508          int     *yback, xback;
509          int     y;
508        COLR    pfill;
510          register int    x, i;
511                                                          /* get back buffer */
512          yback = (int *)malloc(hresolu*sizeof(int));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines