| 18 |
|
|
| 19 |
|
|
| 20 |
|
#define INITFILE "rayinit.cal" |
| 21 |
– |
#define REFVNAME "`FILE_REFCNT" |
| 21 |
|
#define CALSUF ".cal" |
| 22 |
|
#define LCALSUF 4 |
| 23 |
+ |
char REFVNAME[] = "`FILE_REFCNT"; |
| 24 |
|
|
| 25 |
|
XF unitxf = { /* identity transform */ |
| 26 |
< |
1.0, 0.0, 0.0, 0.0, |
| 27 |
< |
0.0, 1.0, 0.0, 0.0, |
| 28 |
< |
0.0, 0.0, 1.0, 0.0, |
| 29 |
< |
0.0, 0.0, 0.0, 1.0, |
| 26 |
> |
{{1.0, 0.0, 0.0, 0.0}, |
| 27 |
> |
{0.0, 1.0, 0.0, 0.0}, |
| 28 |
> |
{0.0, 0.0, 1.0, 0.0}, |
| 29 |
> |
{0.0, 0.0, 0.0, 1.0}}, |
| 30 |
|
1.0 |
| 31 |
|
}; |
| 32 |
|
|
| 166 |
|
OBJREC *m; |
| 167 |
|
register RAY *r; |
| 168 |
|
{ |
| 169 |
< |
static long lastrno = -1; |
| 169 |
> |
static unsigned long lastrno = ~0; |
| 170 |
|
register MFUNC *f; |
| 171 |
|
/* get function */ |
| 172 |
|
if ((f = (MFUNC *)m->os) == NULL) |