2 |
|
/* |
3 |
|
* Quadtree data structures for holodeck display drivers. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_RHD_QTREE_H_ |
6 |
+ |
#define _RAD_RHD_QTREE_H_ |
7 |
|
|
8 |
|
#include "color.h" |
9 |
|
#include "tonemap.h" |
10 |
|
#include "rhdriver.h" |
11 |
|
|
12 |
+ |
#ifdef __cplusplus |
13 |
+ |
extern "C" { |
14 |
+ |
#endif |
15 |
+ |
|
16 |
|
#define DL 0 /* down left */ |
17 |
|
#define DR 1 /* down right */ |
18 |
|
#define UL 2 /* up left */ |
57 |
|
|
58 |
|
extern int32 encodedir(); |
59 |
|
extern double fdir2diff(), dir2diff(); |
60 |
+ |
|
61 |
+ |
#ifdef __cplusplus |
62 |
+ |
} |
63 |
+ |
#endif |
64 |
+ |
#endif /* _RAD_RHD_QTREE_H_ */ |
65 |
+ |
|