--- ray/src/common/fvect.h 2013/06/29 21:03:44 2.15 +++ ray/src/common/fvect.h 2014/04/11 20:27:23 2.16 @@ -1,4 +1,4 @@ -/* RCSid $Id: fvect.h,v 2.15 2013/06/29 21:03:44 greg Exp $ */ +/* RCSid $Id: fvect.h,v 2.16 2014/04/11 20:27:23 greg Exp $ */ /* * Declarations for floating-point vector operations. */ @@ -11,9 +11,11 @@ extern "C" { #ifdef SMLFLT #define RREAL float #define FTINY (1e-3) +#define FVFORMAT "%f %f %f" #else #define RREAL double #define FTINY (1e-6) +#define FVFORMAT "%lf %lf %lf" #endif #define FHUGE (1e10)