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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.60 by greg, Fri Oct 8 22:55:49 2010 UTC vs.
Revision 2.61 by greg, Wed Oct 20 16:36:10 2010 UTC

# Line 716 | Line 716 | traceray(                              /* trace a single ray */
716          char  *s
717   )
718   {
719 <        char  buf[128];
720 <        int  x, y;
721 <        OBJREC  *ino;
722 <        RAY  thisray;
719 >        RAY     thisray;
720 >        char    buf[512];
721  
722          thisray.rmax = 0.0;
723  
724          if (!sscanvec(s, thisray.rorg) ||
725                          !sscanvec(sskip2(s,3), thisray.rdir)) {
726 +                int  x, y;
727  
728                  if (dev->getcur == NULL)
729                          return;
# Line 751 | Line 750 | traceray(                              /* trace a single ray */
750                  OBJREC  *mat = NULL;
751                  OBJREC  *mod = NULL;
752                  char    matspec[256];
753 +                OBJREC  *ino;
754 +
755                  matspec[0] = '\0';
756                  if (thisray.ro->omod != OVOID) {
757                          mod = objptr(thisray.ro->omod);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines