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

Comparing ray/src/common/radogl.h (file contents):
Revision 3.6 by greg, Wed Apr 23 02:28:06 2003 UTC vs.
Revision 3.7 by schorsch, Fri Jun 6 16:38:47 2003 UTC

# Line 2 | Line 2
2   /*
3   * Header file for Radiance - OpenGL routines.
4   */
5 + #ifndef _RAD_RADOGL_H_
6 + #define _RAD_RADOGL_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11 +
12   #include "copyright.h"
13  
14   #include "standard.h"
# Line 45 | Line 51 | extern LUTAB   mtab;           /* material/modifier lookup table
51   #define issrcmat(m)     ((m) != NULL && islight((m)->type) && \
52                                  (m)->type != MAT_GLOW)
53  
48 #ifdef NOPROTO
49
50 extern void     domatobj();
51 extern void     domatvert();
52 extern int      newglist();
53 extern void     rgl_checkerr();
54 extern int      rgl_filelist();
55 extern int      rgl_octlist();
56 extern void     rgl_load();
57 extern void     rgl_object();
58 extern int      o_instance();
59 extern int      loadoctrees();
60 extern double   checkoct();
61 extern int      loadoct();
62 extern void     rgl_matclear();
63 extern MATREC   *getmatp();
64 extern int      o_default();
65 extern int      o_unsupported();
66 extern MATREC   *newmaterial();
67 extern void     freemtl();
68 extern int      m_normal();
69 extern int      m_aniso();
70 extern int      m_glass();
71 extern int      m_brdf();
72 extern int      m_brdf2();
73 extern int      m_light();
74 extern int      m_mirror();
75 extern int      m_prism();
76 extern void     lightinit();
77 extern void     lightclean();
78 extern void     lightdefs();
79 extern int      o_source();
80 extern int      doflatsrc();
81 extern int      dosphsrc();
82 extern void     setmaterial();
83 extern double   polyarea();
84 extern int      o_face();
85 extern void     surfclean();
86 extern int      o_sphere();
87 extern int      o_cone();
88 extern int      o_ring();
89
90 #else
54                                  /* defined in rgldomat.c */
55   extern void     domatobj(MATREC *mp, FVECT cent);
56   extern void     domatvert(MATREC *mp, FVECT v, FVECT n);
# Line 134 | Line 97 | extern int     o_sphere(OBJREC *o);
97   extern int      o_cone(OBJREC *o);
98   extern int      o_ring(OBJREC *o);
99  
100 +
101 + #ifdef __cplusplus
102 + }
103   #endif
104 + #endif /* _RAD_RADOGL_H_ */
105 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines