ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/plocate.h
(Generate patch)

Comparing ray/src/common/plocate.h (file contents):
Revision 2.4 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.7 by greg, Fri Jun 27 06:53:21 2003 UTC

# Line 4 | Line 4
4   *
5   *  Include after fvect.h
6   */
7 + #ifndef _RAD_PLOCATE_H_
8 + #define _RAD_PLOCATE_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
8 #include "copyright.h"
9
13   #define  EPSILON        FTINY           /* acceptable location error */
14  
15   #define  XPOS           03              /* x position mask */
# Line 18 | Line 21
21   #define  BELOW          025             /* below bits */
22   #define  ABOVE          052             /* above bits */
23  
21 #ifdef NOPROTO
24  
25 < extern int      clip();
24 <
25 < extern int      plocate();
26 <
27 < #else
28 <
29 < extern int      clip(FLOAT *ep1, FLOAT *ep2, FVECT min, FVECT max);
30 <
25 > extern int      clip(RREAL *ep1, RREAL *ep2, FVECT min, FVECT max);
26   extern int      plocate(FVECT p, FVECT min, FVECT max);
27  
28 +
29 + #ifdef __cplusplus
30 + }
31   #endif
32 + #endif /* _RAD_PLOCATE_H_ */
33 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines