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

Comparing ray/src/common/rtmath.h (file contents):
Revision 3.1 by greg, Fri Jun 27 06:53:21 2003 UTC vs.
Revision 3.4 by greg, Sat May 31 19:38:36 2008 UTC

# Line 5 | Line 5
5  
6   #ifndef _RAD_RTMATH_H_
7   #define _RAD_RTMATH_H_
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
8  
9   #include  <math.h>
10  
11 < #include  "tifftypes.h"
15 <
11 > #include  "tiff.h"              /* needed for int32, etc. */
12   #include  "mat4.h"
13  
14 + #ifdef __cplusplus
15 + extern "C" {
16 + #endif
17 +
18                                  /* regular transformation */
19   typedef struct {
20          MAT4  xfm;                              /* transform matrix */
# Line 50 | Line 50 | extern int     xf(XF *ret, int ac, char *av[]);
50   extern int      invxf(XF *ret, int ac, char *av[]);
51   extern int      fullxf(FULLXF *fx, int ac, char *av[]);
52                                          /* defined in zeroes.c */
53 < extern int      quadtratic(double *r, double a, double b, double c);
53 > extern int      quadratic(double *r, double a, double b, double c);
54                                          /* defined in dircode.c */
55   extern int32    encodedir(FVECT dv);
56   extern void     decodedir(FVECT dv, int32 dc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines