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

Comparing ray/src/hd/rhd_odraw.h (file contents):
Revision 3.9 by greg, Fri Jun 20 00:25:49 2003 UTC vs.
Revision 3.12 by schorsch, Thu Jan 1 11:21:55 2004 UTC

# Line 4 | Line 4
4   *
5   * Include after "standard.h"
6   */
7 + #ifndef _RAD_RHD_ODRAW_H_
8 + #define _RAD_RHD_ODRAW_H_
9  
10   #include "color.h"
11   #include "tonemap.h"
12   #include "rhdriver.h"
13  
14 + #ifdef __cplusplus
15 + extern "C" {
16 + #endif
17 +
18   extern struct ODview {
19          int     sfirst, snext;  /* first sample and first in next view */
20          short   hhi, vhi;       /* screen image resolution */
# Line 50 | Line 56 | extern struct ODsamp {
56   #define CLR4(f,i)       FL4OP(f,i,&=~)
57   #define TGL4(f,i)       FL4OP(f,i,^=)
58   #define FL4NELS(n)      (((n)+0x1f)>>5)
59 < #define CLR4ALL(f,n)    bzero((char *)(f),FL4NELS(n)*sizeof(int32))
59 > #define CLR4ALL(f,n)    memset((char *)(f),'\0',FL4NELS(n)*sizeof(int32))
60   #endif
61  
62   #define OMAXDEPTH       32000                   /* maximum depth value */
# Line 130 | Line 136 | and redraw them on the next call(s) to odUpdate().  If
136   is non-zero, then clear the previous sample history.
137  
138   **********************************************************************/
139 +
140 +        /* rhd_geom.c */
141 + void gmNewGeom( char *file);
142 + extern void gmEndGeom(void);
143 + extern int gmDrawGeom(void);
144 + extern void gmDrawPortals(int r, int g, int b, int a);
145 + extern void gmDepthLimit( double dl[2], FVECT vorg, FVECT vdir);
146 + extern void gmNewPortal(char *pflist);
147 + extern int gmEndPortal(void);
148 +        /* rhd_odraw.c */
149 + extern int odInit(int n);
150 + extern void odSample(COLR c, FVECT d, FVECT p);
151 + extern void odRemap(int newhist);
152 + extern void odRedrawAll(void);
153 + extern void odRedraw(int vn, int hmin, int vmin, int hmax, int vmax);
154 + extern void odDepthMap(int vn, GLfloat *dm);
155 + extern void odUpdate(int vn);
156 +
157 +
158 + #ifdef __cplusplus
159 + }
160 + #endif
161 + #endif /* _RAD_RHD_ODRAW_H_ */
162 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines