--- ray/src/common/plocate.h 1993/12/19 21:06:43 2.2 +++ ray/src/common/plocate.h 2003/06/27 06:53:21 2.7 @@ -1,12 +1,14 @@ -/* Copyright (c) 1986 Regents of the University of California */ - -/* SCCSid "$SunId$ LBL" */ - +/* RCSid $Id: plocate.h,v 2.7 2003/06/27 06:53:21 greg Exp $ */ /* * plocate.h - header for 3D vector location. * - * 8/28/85 + * Include after fvect.h */ +#ifndef _RAD_PLOCATE_H_ +#define _RAD_PLOCATE_H_ +#ifdef __cplusplus +extern "C" { +#endif #define EPSILON FTINY /* acceptable location error */ @@ -18,3 +20,14 @@ #define BELOW 025 /* below bits */ #define ABOVE 052 /* above bits */ + + +extern int clip(RREAL *ep1, RREAL *ep2, FVECT min, FVECT max); +extern int plocate(FVECT p, FVECT min, FVECT max); + + +#ifdef __cplusplus +} +#endif +#endif /* _RAD_PLOCATE_H_ */ +