ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/plocate.h
Revision: 2.2
Committed: Sun Dec 19 21:06:43 1993 UTC (30 years, 4 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.1: +1 -1 lines
Log Message:
changed definition of EPSILON to FTINY

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 greg 2.2 #define EPSILON FTINY /* acceptable location error */
12 greg 1.1
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 */