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

Comparing ray/src/util/vwrays.c (file contents):
Revision 3.4 by greg, Sat Feb 22 02:07:30 2003 UTC vs.
Revision 3.7 by schorsch, Sun Jul 27 22:12:04 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8  
9   #include "standard.h"
10  
11 + #include "platform.h"
12   #include "view.h"
13  
14   extern int      putf(), putd(), puta();
# Line 99 | Line 100 | char   *argv[];
100                  default:
101                          goto userr;
102                  }
103 <        if (i > argc | i+2 < argc)
103 >        if ((i > argc) | (i+2 < argc))
104                  goto userr;
105          if (i < argc) {
106                  rval = viewfile(argv[i], &vw, &rs);
# Line 193 | Line 194 | pix2rays(FILE *fp)
194  
195   putrays()
196   {
197 <        static FLOAT    loc[2];
197 >        static RREAL    loc[2];
198          static FVECT    rorg, rdir;
199          float   *zbuf;
200          int     sc;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines