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.31 by greg, Fri Dec 21 17:20:07 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines