ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/face.h
(Generate patch)

Comparing ray/src/common/face.h (file contents):
Revision 2.1 by greg, Tue Nov 12 16:54:27 1991 UTC vs.
Revision 2.4 by schorsch, Fri Jun 6 16:38:47 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid $Id$ */
2   /*
3   *  face.h - header for routines using polygonal faces.
7 *
8 *     8/30/85
4   */
5 + #ifndef _RAD_FACE_H_
6 + #define _RAD_FACE_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11 + #include "copyright.h"
12 +
13   #define  VERTEX(f,n)    ((f)->va + 3*(n))
14  
15   typedef struct {        /* a polygonal face */
# Line 19 | Line 21 | typedef struct {       /* a polygonal face */
21          short  ax;              /* axis closest to normal */
22   } FACE;
23  
24 < extern FACE  *getface();
24 >
25 > extern FACE  *getface(OBJREC *o);
26 > extern void  freeface(OBJREC *o);
27 > extern int  inface(FVECT p, FACE *f);
28 >
29 >
30 > #ifdef __cplusplus
31 > }
32 > #endif
33 > #endif /* _RAD_FACE_H_ */
34 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines