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

Comparing ray/src/rt/ambio.c (file contents):
Revision 2.11 by greg, Thu Mar 3 22:13:51 2016 UTC vs.
Revision 2.12 by greg, Fri Jan 27 22:00:49 2017 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13   #include "ambient.h"
14  
15  
16 < #define  badflt(x)      ((x) < -FHUGE || (x) > FHUGE)
16 > #define  badflt(x)      (((x) < -FHUGE) | ((x) > FHUGE))
17  
18   #define  badvec(v)      (badflt((v)[0]) | badflt((v)[1]) | badflt((v)[2]))
19  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines