--- ray/src/hd/rholo.c 1998/10/08 14:52:26 3.41 +++ ray/src/hd/rholo.c 1998/12/10 10:47:29 3.43 @@ -367,7 +367,7 @@ register HDGRID *gp; for (i = 0; i < 3; i++) len[i] = VLEN(gp->xv[i]); if (!vdef(GRID)) { - d = 2/5e5*( len[0]*len[0]*(len[1]*len[1] + + d = 2/2e5*( len[0]*len[0]*(len[1]*len[1] + len[2]*len[2] + 4*len[1]*len[2]) + len[1]*len[1]*len[2]*(len[2] + 4*len[0]) + 4*len[0]*len[1]*len[2]*len[2] ); @@ -420,6 +420,7 @@ HDGRID *gp; } +int headline(s) /* process information header line */ char *s; { @@ -433,7 +434,7 @@ char *s; HOLOFMT, hdkfile, FMTSTR, fmt); error(USER, errmsg); } - return; + return(0); } for (cp = s; *cp; cp++) /* take off any comments */ if (*cp == '#') { @@ -441,6 +442,7 @@ char *s; break; } setvariable(s, matchvar); /* don't flag errors */ + return(0); }