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

Comparing ray/src/hd/rhdisp3.c (file contents):
Revision 3.10 by gwlarson, Tue Jul 7 11:07:42 1998 UTC vs.
Revision 3.11 by gwlarson, Thu Nov 5 13:58:37 1998 UTC

# Line 30 | Line 30 | int    bi;
30          FVECT   cp[4], ip[4], pf, pb;
31          double  af, ab, sf2, sb2, dfb2, df2, db2, penalty;
32          register int    i;
33 +                                        /* special case */
34 +        if (hr <= 0 | vr <= 0)
35 +                return(0);
36                                          /* compute cell corners in image */
37          if (!hdbcoord(gc, hp, bi))
38                  error(CONSISTENCY, "bad beam index in npixels");
# Line 281 | Line 284 | VIEW   *vp;
284          if (cl.cl == NULL)
285                  goto memerr;
286          cl.n = 0;                       /* add cells within pyramid */
287 <        visit_cells(org, dir, hp, addcell, &cl);
287 >        visit_cells(org, dir, hp, addcell, (char *)&cl);
288          if (!cl.n) {
289                  free((char *)cl.cl);
290                  return(NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines