1 |
– |
/* Copyright (c) 1986 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* o_face.c - compute ray intersection with faces. |
9 |
– |
* |
10 |
– |
* 8/29/85 |
6 |
|
*/ |
7 |
|
|
8 |
+ |
#include "copyright.h" |
9 |
+ |
|
10 |
|
#include "ray.h" |
11 |
|
|
12 |
|
#include "face.h" |
54 |
|
VCOPY(r->rop, pisect); |
55 |
|
VCOPY(r->ron, f->norm); |
56 |
|
r->rod = rdot; |
57 |
< |
r->rofs = 1.0; setident4(r->rofx); |
61 |
< |
r->robs = 1.0; setident4(r->robx); |
57 |
> |
r->rox = NULL; |
58 |
|
|
59 |
|
return(1); /* hit */ |
60 |
|
} |