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.11 by greg, Fri Jun 27 06:53:21 2003 UTC

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