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.9 by greg, Fri Jun 27 06:53:21 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  
6 #include "copyright.h"
7
11   #include "standard.h"
12   #include <GL/glu.h>
13   #include "color.h"
# Line 45 | Line 48 | extern LUTAB   mtab;           /* material/modifier lookup table
48   #define issrcmat(m)     ((m) != NULL && islight((m)->type) && \
49                                  (m)->type != MAT_GLOW)
50  
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
51                                  /* defined in rgldomat.c */
52   extern void     domatobj(MATREC *mp, FVECT cent);
53   extern void     domatvert(MATREC *mp, FVECT v, FVECT n);
# Line 95 | Line 55 | extern void    domatvert(MATREC *mp, FVECT v, FVECT n);
55   extern int      newglist(void);
56   extern void     rgl_checkerr(char *where);
57   extern int      rgl_filelist(int ic, char **inp, int *nl);
58 < extern int      rgl_octlist(char *fname, FVECT cent, FLOAT *radp, int *nl);
58 > extern int      rgl_octlist(char *fname, FVECT cent, RREAL *radp, int *nl);
59   extern void     rgl_load(char *inpspec);
60   extern void     rgl_object(char *name, FILE *fp);
61                                  /* defined in rglinst.c */
# Line 134 | Line 94 | extern int     o_sphere(OBJREC *o);
94   extern int      o_cone(OBJREC *o);
95   extern int      o_ring(OBJREC *o);
96  
97 +
98 + #ifdef __cplusplus
99 + }
100   #endif
101 + #endif /* _RAD_RADOGL_H_ */
102 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines