ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/o_face.c
(Generate patch)

Comparing ray/src/rt/o_face.c (file contents):
Revision 1.4 by greg, Sat Dec 15 15:03:29 1990 UTC vs.
Revision 2.4 by greg, Tue Mar 11 17:08:55 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1990 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"
# Line 57 | Line 54 | register RAY  *r;
54          VCOPY(r->rop, pisect);
55          VCOPY(r->ron, f->norm);
56          r->rod = rdot;
57 +        r->pert[0] = r->pert[1] = r->pert[2] = 0.0;
58 +        r->uv[0] = r->uv[1] = 0.0;
59          r->rox = NULL;
60  
61          return(1);                              /* hit */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines