| 1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
< |
|
| 3 |
< |
/* SCCSid "$SunId$ SGI" */ |
| 4 |
< |
|
| 1 |
> |
/* RCSid: $Id$ */ |
| 2 |
|
/* |
| 3 |
|
* Header file for rholo program |
| 4 |
|
*/ |
| 31 |
|
#define packra(p) ((RAYVAL *)((p)+1)) |
| 32 |
|
|
| 33 |
|
typedef struct { |
| 34 |
+ |
int nb; /* number of beams in list */ |
| 35 |
+ |
PACKHEAD *bl; /* allocated beam list */ |
| 36 |
+ |
} BEAMLIST; /* a list of beam requests */ |
| 37 |
+ |
|
| 38 |
+ |
typedef struct { |
| 39 |
|
FVECT vpt; /* view (eye point) position */ |
| 40 |
|
double rng; /* desired mean radius for sample rays */ |
| 41 |
|
} VIEWPOINT; /* target eye position */ |
| 80 |
|
#define BS_ADD 2 /* add to current set */ |
| 81 |
|
#define BS_ADJ 3 /* adjust current set quantities */ |
| 82 |
|
#define BS_DEL 4 /* delete from current set */ |
| 83 |
+ |
#define BS_MAX 5 /* set to max of old and new */ |
| 84 |
|
|
| 85 |
|
extern char *progname; /* our program name */ |
| 86 |
|
extern char *hdkfile; /* holodeck file name */ |
| 112 |
|
extern char *rtargv[]; |
| 113 |
|
|
| 114 |
|
extern PACKET *do_packets(), *get_packets(), *flush_queue(); |
| 115 |
+ |
|
| 116 |
+ |
extern int2 *viewbeams(); |