--- ray/src/common/plocate.h 2003/02/25 02:47:21 2.4 +++ ray/src/common/plocate.h 2003/06/06 16:38:47 2.5 @@ -1,9 +1,14 @@ -/* RCSid $Id: plocate.h,v 2.4 2003/02/25 02:47:21 greg Exp $ */ +/* RCSid $Id: plocate.h,v 2.5 2003/06/06 16:38:47 schorsch Exp $ */ /* * plocate.h - header for 3D vector location. * * Include after fvect.h */ +#ifndef _RAD_PLOCATE_H_ +#define _RAD_PLOCATE_H_ +#ifdef __cplusplus +extern "C" { +#endif #include "copyright.h" @@ -18,16 +23,13 @@ #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); + +#ifdef __cplusplus +} #endif +#endif /* _RAD_PLOCATE_H_ */ +