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

Comparing ray/src/util/glrad.c (file contents):
Revision 3.27 by greg, Fri Feb 28 05:18:49 2020 UTC vs.
Revision 3.28 by greg, Mon Jun 3 18:55:51 2024 UTC

# Line 749 | Line 749 | getintersect(          /* intersect ray with scene geometry */
749          if (md <= FTINY) md = FHUGE;
750          fbuf[3] = dir[0]*md; fbuf[4] = dir[1]*md; fbuf[5] = dir[2]*md;
751                                  /* trace that ray */
752 <        if (process(&rtpd, (char *)fbuf, (char *)fbuf,
752 >        if (process(&rtpd, fbuf, fbuf,
753                          4*sizeof(float), 6*sizeof(float)) != 4*sizeof(float))
754                  error(INTERNAL, "error getting data back from rtrace process");
755          if (fbuf[3] >= .99*FHUGE)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines