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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.13 by greg, Mon Mar 8 12:37:33 1993 UTC vs.
Revision 2.14 by greg, Tue May 4 13:26:52 1993 UTC

# Line 76 | Line 76 | static int  oputo(), oputd(), oputv(), oputl(), oputL(
76                  oputp(), oputn(), oputN(), oputs(), oputw(), oputm();
77  
78   static int  ourtrace(), tabin();
79 < static int  (*ray_out[10])(), (*every_out[10])();
80 < static int  castonly;
79 > static int  (*ray_out[16])(), (*every_out[16])();
80 > static int  castonly = 0;
81  
82   static int  puta(), putf(), putd();
83  
# Line 128 | Line 128 | char  *fname;
128                  setmode(fileno(fp), O_BINARY);
129   #endif
130                                          /* set up output */
131 <        setoutput(outvals);
131 >        if (imm_irrad)
132 >                outvals = "v";
133 >        else
134 >                setoutput(outvals);
135          switch (outform) {
136          case 'a': putreal = puta; break;
137          case 'f': putreal = putf; break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines