ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/RtraceSimulManager.cpp
(Generate patch)

Comparing ray/src/rt/RtraceSimulManager.cpp (file contents):
Revision 2.14 by greg, Mon Aug 5 19:51:18 2024 UTC vs.
Revision 2.16 by greg, Sun Aug 25 00:17:29 2024 UTC

# Line 106 | Line 106 | check_special(const char *s)
106  
107   // Append program line to header
108   bool
109 < RadSimulManager::AddHeader(int ac, const char *av[])
109 > RadSimulManager::AddHeader(int ac, char *av[])
110   {
111          if ((ac <= 0) | !av) return false;
112          int     len = 0;
# Line 341 | Line 341 | RtraceSimulManager::EnqueueBundle(const FVECT orig_dir
341          while (n-- > 0) {               // queue each ray
342                  VCOPY(res.rorg, orig_direc[0]);
343                  VCOPY(res.rdir, orig_direc[1]);
344 +                res.rmax = .0;
345                  orig_direc += 2;
346                  rayorigin(&res, PRIMARY, NULL, NULL);
347                  res.rno = rID0 ? (lastRayID = rID0++) : ++lastRayID;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines