ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/fvect.h
(Generate patch)

Comparing ray/src/common/fvect.h (file contents):
Revision 2.9 by schorsch, Fri Jun 6 16:38:47 2003 UTC vs.
Revision 2.10 by schorsch, Thu Jun 26 00:58:09 2003 UTC

# Line 11 | Line 11 | extern "C" {
11   #include "copyright.h"
12  
13   #ifdef  SMLFLT
14 < #define  FLOAT          float
14 > #define  RREAL          float
15   #define  FTINY          (1e-3)
16   #else
17 < #define  FLOAT          double
17 > #define  RREAL          double
18   #define  FTINY          (1e-6)
19   #endif
20   #define  FHUGE          (1e10)
21  
22 < typedef FLOAT  FVECT[3];
22 > typedef RREAL  FVECT[3];
23  
24   #define  VCOPY(v1,v2)   ((v1)[0]=(v2)[0],(v1)[1]=(v2)[1],(v1)[2]=(v2)[2])
25   #define  DOT(v1,v2)     ((v1)[0]*(v2)[0]+(v1)[1]*(v2)[1]+(v1)[2]*(v2)[2])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines