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

Comparing ray/src/hd/rhdisp.c (file contents):
Revision 3.48 by schorsch, Mon Jul 21 22:30:18 2003 UTC vs.
Revision 3.49 by schorsch, Sun Jul 27 22:12:02 2003 UTC

# Line 249 | Line 249 | register PACKHEAD      *p;
249          double  d;
250          register int    i;
251                                          /* get beam coordinates */
252 <        if (p->hd < 0 | p->hd >= HDMAX || hdlist[p->hd] == NULL)
252 >        if ((p->hd < 0) | (p->hd >= HDMAX) || hdlist[p->hd] == NULL)
253                  error(INTERNAL, "bad holodeck number in disp_bundle");
254          if (!hdbcoord(gc, hdlist[p->hd], p->bi))
255                  error(INTERNAL, "bad beam index in disp_bundle");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines