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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.41 by gwlarson, Thu Oct 8 14:52:26 1998 UTC vs.
Revision 3.43 by gwlarson, Thu Dec 10 10:47:29 1998 UTC

# Line 367 | Line 367 | register HDGRID        *gp;
367                  for (i = 0; i < 3; i++)
368                          len[i] = VLEN(gp->xv[i]);
369                  if (!vdef(GRID)) {
370 <                        d = 2/5e5*( len[0]*len[0]*(len[1]*len[1] +
370 >                        d = 2/2e5*( len[0]*len[0]*(len[1]*len[1] +
371                                          len[2]*len[2] + 4*len[1]*len[2])
372                                  + len[1]*len[1]*len[2]*(len[2] + 4*len[0])
373                                  + 4*len[0]*len[1]*len[2]*len[2] );
# Line 420 | Line 420 | HDGRID *gp;
420   }
421  
422  
423 + int
424   headline(s)                     /* process information header line */
425   char    *s;
426   {
# Line 433 | Line 434 | char   *s;
434                                          HOLOFMT, hdkfile, FMTSTR, fmt);
435                          error(USER, errmsg);
436                  }
437 <                return;
437 >                return(0);
438          }
439          for (cp = s; *cp; cp++)         /* take off any comments */
440                  if (*cp == '#') {
# Line 441 | Line 442 | char   *s;
442                          break;
443                  }
444          setvariable(s, matchvar);       /* don't flag errors */
445 +        return(0);
446   }
447  
448  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines