--- ray/src/common/fvect.h 2003/06/26 00:58:09 2.10 +++ ray/src/common/fvect.h 2003/09/16 06:30:20 2.12 @@ -1,4 +1,4 @@ -/* RCSid $Id: fvect.h,v 2.10 2003/06/26 00:58:09 schorsch Exp $ */ +/* RCSid $Id: fvect.h,v 2.12 2003/09/16 06:30:20 greg Exp $ */ /* * Declarations for floating-point vector operations. */ @@ -8,8 +8,6 @@ extern "C" { #endif -#include "copyright.h" - #ifdef SMLFLT #define RREAL float #define FTINY (1e-3) @@ -46,6 +44,8 @@ extern double dist2lseg(FVECT p, FVECT ep1, FVECT ep2) extern void fcross(FVECT vres, FVECT v1, FVECT v2); extern void fvsum(FVECT vres, FVECT v0, FVECT v1, double f); extern double normalize(FVECT v); +extern int closestapproach(RREAL t[2], FVECT rorg0, FVECT rdir0, + FVECT rorg1, FVECT rdir1); extern void spinvector(FVECT vres, FVECT vorig, FVECT vnorm, double theta);