--- ray/src/common/rtmath.h 2003/06/27 06:53:21 3.1 +++ ray/src/common/rtmath.h 2008/05/31 19:38:36 3.4 @@ -1,20 +1,20 @@ -/* RCSid $Id: rtmath.h,v 3.1 2003/06/27 06:53:21 greg Exp $ */ +/* RCSid $Id: rtmath.h,v 3.4 2008/05/31 19:38:36 greg Exp $ */ /* * Header for Radiance vector and math routines */ #ifndef _RAD_RTMATH_H_ #define _RAD_RTMATH_H_ -#ifdef __cplusplus -extern "C" { -#endif #include -#include "tifftypes.h" - +#include "tiff.h" /* needed for int32, etc. */ #include "mat4.h" +#ifdef __cplusplus +extern "C" { +#endif + /* regular transformation */ typedef struct { MAT4 xfm; /* transform matrix */ @@ -50,7 +50,7 @@ extern int xf(XF *ret, int ac, char *av[]); extern int invxf(XF *ret, int ac, char *av[]); extern int fullxf(FULLXF *fx, int ac, char *av[]); /* defined in zeroes.c */ -extern int quadtratic(double *r, double a, double b, double c); +extern int quadratic(double *r, double a, double b, double c); /* defined in dircode.c */ extern int32 encodedir(FVECT dv); extern void decodedir(FVECT dv, int32 dc);