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

Comparing ray/src/cv/bsdfmesh.c (file contents):
Revision 2.22 by greg, Mon Mar 10 20:58:29 2014 UTC vs.
Revision 2.24 by greg, Sat Mar 15 18:11:37 2014 UTC

# Line 165 | Line 165 | neighborhood_dist2(int x0, int y0, int x1, int y1)
165          double  d;
166          int     p[4];
167          int     i, j;
168
169        if ((x0 == x1) & (y0 == y1))
170                return(0.);
168                                                  /* check radius */
169          p[0] = x0; p[1] = y0; p[2] = x1; p[3] = y1;
170          for (i = 4; i--; ) {
# Line 400 | Line 397 | create_migration(RBFNODE *from_rbf, RBFNODE *to_rbf)
397          for (newmig = from_rbf->ejl; newmig != NULL;
398                          newmig = nextedge(from_rbf,newmig))
399                  if (newmig->rbfv[1] == to_rbf)
403 {fprintf(stderr, "Edge already exists!\n");
400                          return(NULL);
405 }
401                                                  /* else allocate */
402   #ifdef DEBUG
403          fprintf(stderr, "Building path from (theta,phi) (%.1f,%.1f) ",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines