--- ray/src/common/plocate.h 1993/12/19 21:06:43 2.2 +++ ray/src/common/plocate.h 2003/02/25 02:47:21 2.4 @@ -1,13 +1,12 @@ -/* Copyright (c) 1986 Regents of the University of California */ - -/* SCCSid "$SunId$ LBL" */ - +/* RCSid $Id: plocate.h,v 2.4 2003/02/25 02:47:21 greg Exp $ */ /* * plocate.h - header for 3D vector location. * - * 8/28/85 + * Include after fvect.h */ +#include "copyright.h" + #define EPSILON FTINY /* acceptable location error */ #define XPOS 03 /* x position mask */ @@ -18,3 +17,17 @@ #define BELOW 025 /* below bits */ #define ABOVE 052 /* above bits */ + +#ifdef NOPROTO + +extern int clip(); + +extern int plocate(); + +#else + +extern int clip(FLOAT *ep1, FLOAT *ep2, FVECT min, FVECT max); + +extern int plocate(FVECT p, FVECT min, FVECT max); + +#endif