ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/plocate.h
Revision: 1.1
Committed: Thu Feb 2 10:33:00 1989 UTC (35 years, 3 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Initial revision

File Contents

# User Rev Content
1 greg 1.1 /* Copyright (c) 1986 Regents of the University of California */
2    
3     /* SCCSid "$SunId$ LBL" */
4    
5     /*
6     * plocate.h - header for 3D vector location.
7     *
8     * 8/28/85
9     */
10    
11     #define EPSILON 1e-6 /* acceptable location error */
12    
13     #define XPOS 03 /* x position mask */
14     #define YPOS 014 /* y position mask */
15     #define ZPOS 060 /* z position mask */
16    
17     #define position(i) (3<<((i)<<1)) /* macro version */
18    
19     #define BELOW 025 /* below bits */
20     #define ABOVE 052 /* above bits */