1 |
– |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ SGI"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* Routines for converting holodeck coordinates, etc. |
6 |
|
* |
134 |
|
register HOLO *hp; |
135 |
|
register GCOORD *gc; |
136 |
|
{ |
137 |
< |
register FLOAT *v; |
137 |
> |
register RREAL *v; |
138 |
|
double d; |
139 |
|
/* compute common component */ |
140 |
|
VCOPY(cp[0], hp->orig); |
263 |
|
{ |
264 |
|
FVECT p[2], vt; |
265 |
|
double d, t0, t1, d0, d1; |
266 |
< |
register FLOAT *v; |
266 |
> |
register RREAL *v; |
267 |
|
register int i; |
268 |
|
/* first, intersect walls */ |
269 |
|
gc[0].w = gc[1].w = -1; |