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

Comparing ray/src/common/mesh.c (file contents):
Revision 2.4 by greg, Fri Mar 14 21:27:45 2003 UTC vs.
Revision 2.5 by greg, Fri Apr 18 22:10:20 2003 UTC

# Line 504 | Line 504 | register MESH  *mp;
504          if (mp->ldflags & IO_BOUNDS) {
505                  if (mp->mcube.cusize <= FTINY)
506                          return("illegal octree bounds in mesh");
507 <                nouvbounds = (mp->uvlim[0][1] - mp->uvlim[0][0] <= FTINY ||
508 <                                mp->uvlim[1][1] - mp->uvlim[1][0] <= FTINY);
507 >                nouvbounds = (mp->uvlim[1][0] - mp->uvlim[0][0] <= FTINY ||
508 >                                mp->uvlim[1][1] - mp->uvlim[0][1] <= FTINY);
509          }
510                                          /* check octree */
511          if (mp->ldflags & IO_TREE) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines