--- ray/src/util/vwrays.c 2003/02/22 02:07:30 3.4 +++ ray/src/util/vwrays.c 2003/07/27 22:12:04 3.7 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: vwrays.c,v 3.4 2003/02/22 02:07:30 greg Exp $"; +static const char RCSid[] = "$Id: vwrays.c,v 3.7 2003/07/27 22:12:04 schorsch Exp $"; #endif /* * Compute rays corresponding to a given picture or view. @@ -8,6 +8,7 @@ static const char RCSid[] = "$Id: vwrays.c,v 3.4 2003/ #include "standard.h" +#include "platform.h" #include "view.h" extern int putf(), putd(), puta(); @@ -99,7 +100,7 @@ char *argv[]; default: goto userr; } - if (i > argc | i+2 < argc) + if ((i > argc) | (i+2 < argc)) goto userr; if (i < argc) { rval = viewfile(argv[i], &vw, &rs); @@ -193,7 +194,7 @@ pix2rays(FILE *fp) putrays() { - static FLOAT loc[2]; + static RREAL loc[2]; static FVECT rorg, rdir; float *zbuf; int sc;