1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ SGI" */ |
4 |
< |
|
1 |
> |
/* RCSid $Id$ */ |
2 |
|
/* |
3 |
|
* Quadtree data structures for holodeck display drivers. |
4 |
|
*/ |
5 |
|
|
9 |
– |
#undef NOPROTO |
10 |
– |
#define NOPROTO 1 |
6 |
|
#include "color.h" |
7 |
|
#include "tonemap.h" |
8 |
|
#include "rhdriver.h" |
31 |
|
|
32 |
|
extern struct rleaves { |
33 |
|
float (*wp)[3]; /* world intersection point array */ |
34 |
< |
int4 *wd; /* world direction array */ |
34 |
> |
int32 *wd; /* world direction array */ |
35 |
|
TMbright *brt; /* encoded brightness array */ |
36 |
|
BYTE (*chr)[3]; /* encoded chrominance array */ |
37 |
|
BYTE (*rgb)[3]; /* tone-mapped color array */ |
49 |
|
|
50 |
|
extern int rayqleft; /* number of rays to queue before flush */ |
51 |
|
|
52 |
< |
extern int4 encodedir(); |
52 |
> |
extern int32 encodedir(); |
53 |
|
extern double fdir2diff(), dir2diff(); |