| 1 |
< |
/* Copyright (c) 1997 Silicon Graphics, Inc. */ |
| 1 |
> |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
|
|
| 3 |
|
/* SCCSid "$SunId$ SGI" */ |
| 4 |
|
|
| 9 |
|
#include "tonemap.h" |
| 10 |
|
#include "rhdriver.h" |
| 11 |
|
|
| 12 |
– |
#ifndef int2 |
| 13 |
– |
#define int2 short |
| 14 |
– |
#endif |
| 15 |
– |
#ifndef int4 |
| 16 |
– |
#define int4 long |
| 17 |
– |
#endif |
| 18 |
– |
/* child ordering */ |
| 12 |
|
#define DL 0 /* down left */ |
| 13 |
|
#define DR 1 /* down right */ |
| 14 |
|
#define UL 2 /* up left */ |
| 48 |
|
extern RTREE qtrunk; /* trunk of quadtree */ |
| 49 |
|
extern double qtDepthEps; /* epsilon to compare depths (z fraction) */ |
| 50 |
|
extern int qtMinNodesiz; /* minimum node dimension (pixels) */ |
| 51 |
+ |
|
| 52 |
+ |
extern int rayqleft; /* number of rays to queue before flush */ |
| 53 |
+ |
|
| 54 |
+ |
extern int4 encodedir(); |
| 55 |
+ |
extern double fdir2diff(), dir2diff(); |