| 1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1990 Regents of the University of California */ |
| 2 |
|
|
| 3 |
|
/* SCCSid "$SunId$ LBL" */ |
| 4 |
|
|
| 42 |
|
FVECT rop; /* intersection point */ |
| 43 |
|
FVECT ron; /* intersection surface normal */ |
| 44 |
|
double rod; /* -DOT(rdir, ron) */ |
| 45 |
< |
double rofx[4][4]; /* transform from object space */ |
| 46 |
< |
double rofs; /* scaling factor from object */ |
| 47 |
< |
double robx[4][4]; /* transform back to object space */ |
| 48 |
< |
double robs; /* back scaling factor */ |
| 45 |
> |
FULLXF *rox; /* object transformation */ |
| 46 |
|
FVECT pert; /* surface normal perturbation */ |
| 47 |
|
COLOR pcol; /* pattern color */ |
| 48 |
|
COLOR rcol; /* returned ray value */ |
| 49 |
+ |
double rt; /* returned effective ray length */ |
| 50 |
|
} RAY; |
| 51 |
|
|
| 52 |
|
extern double raynormal(); |