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 */ |