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.6 by greg, Wed Apr 23 00:52:33 2003 UTC

# Line 197 | Line 197 | OBJECT ti;
197  
198   int
199   getmeshvert(vp, mp, vid, what)  /* get triangle vertex from ID */
200 < MESHVERT*vp;
201 < MESH    *mp;
202 < int4    vid;
203 < int     what;
200 > MESHVERT        *vp;
201 > MESH            *mp;
202 > int4            vid;
203 > int             what;
204   {
205          int             pn = vid >> 8;
206          MESHPATCH       *pp;
# 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