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

Comparing ray/src/ot/o_instance.c (file contents):
Revision 2.3 by greg, Tue Mar 11 17:08:55 2003 UTC vs.
Revision 2.4 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 64 | Line 64 | CUBE  *cu;
64                                  v1[j] += cu->cusize;
65                  }
66                  multp3(v2, v1, fxf->b.xfm);
67 <                if (j = plocate(v2, cumin, cumax))
67 >                if ( (j = plocate(v2, cumin, cumax)) )
68                          vout++;
69                  vloc &= j;
70          }
# Line 85 | Line 85 | CUBE  *cu;
85                                  v1[j] += cu1->cusize;
86                  }
87                  multp3(vert[i], v1, fxf->f.xfm);
88 <                if (j = plocate(vert[i], cumin, cumax))
88 >                if ( (j = plocate(vert[i], cumin, cumax)) )
89                          vloc &= j;
90                  else
91                          return(O_HIT);  /* vertex inside */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines