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 1.1 by greg, Thu Feb 2 10:33:00 1989 UTC vs.
Revision 2.4 by greg, Tue Feb 25 02:47:21 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid $Id$ */
2   /*
3   *  plocate.h - header for 3D vector location.
4   *
5 < *     8/28/85
5 > *  Include after fvect.h
6   */
7  
8 < #define  EPSILON        1e-6            /* acceptable location error */
8 > #include "copyright.h"
9  
10 + #define  EPSILON        FTINY           /* acceptable location error */
11 +
12   #define  XPOS           03              /* x position mask */
13   #define  YPOS           014             /* y position mask */
14   #define  ZPOS           060             /* z position mask */
# Line 18 | Line 17
17  
18   #define  BELOW          025             /* below bits */
19   #define  ABOVE          052             /* above bits */
20 +
21 + #ifdef NOPROTO
22 +
23 + 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 +
31 + extern int      plocate(FVECT p, FVECT min, FVECT max);
32 +
33 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines