--- ray/src/hd/sm.h 2003/06/20 00:25:49 3.12 +++ ray/src/hd/sm.h 2003/07/14 22:24:00 3.13 @@ -1,13 +1,19 @@ -/* RCSid: $Id: sm.h,v 3.12 2003/06/20 00:25:49 greg Exp $ */ +/* RCSid: $Id: sm.h,v 3.13 2003/07/14 22:24:00 schorsch Exp $ */ /* * sm.h */ -#ifndef _SM_H_ -#define _SM_H_ +#ifndef _RAD_SM_H_ +#define _RAD_SM_H_ + #include "rhd_sample.h" #include "sm_qtree.h" #include "sm_stree.h" + +#ifdef __cplusplus +extern "C" { +#endif + #define NEWSETS @@ -265,12 +271,9 @@ extern FVECT FrustumNear[4],FrustumFar[4]; * Find the closest sample to the given ray. Return -1 on failure. * */ -#endif - - - - - - +#ifdef __cplusplus +} +#endif +#endif /* define _RAD_SM_H_ */