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

Comparing ray/src/meta/rast.h (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 1.3 by greg, Mon Nov 18 22:12:32 2019 UTC

# Line 2 | Line 2
2   /*
3   *   Structures for line segment output to raster files
4   */
5 + #ifndef _RAD_RAST_H_
6 + #define _RAD_RAST_H_
7  
8 + #ifdef __cplusplus
9 + extern "C" {
10 + #endif
11 +
12   #define  NUMSCANS       16              /* number of scanlines per block */
13  
14   typedef struct {                        /* raster scanline block */
# Line 33 | Line 39 | extern SCANBLOCK  outblock;            /* output span */
39  
40   #define  pixmix(x,y,c)  (outblock.cols[(y)-outblock.ybot][x] &= 070|(c))
41  
42 < #define  someabove(p,y) (CONV((p)->xy[YMX],dysize) > (y))
43 < #define  somebelow(p,y) (CONV((p)->xy[YMN],dysize) < (y))
42 > #define  someabove(p,y) (CONV((p)->xy[YMX],dysiz) > (y))
43 > #define  somebelow(p,y) (CONV((p)->xy[YMN],dysiz) < (y))
44  
45   #define  inthis(p)      (ydown ? someabove(p,outblock.ybot-1) : \
46                                  somebelow(p,outblock.ytop+1))
47   #define  innext(p)      (ydown ? somebelow(p,outblock.ybot) : \
48                                  someabove(p,outblock.ytop))
49 +
50 + #ifdef __cplusplus
51 + }
52 + #endif
53 + #endif /* _RAD_RAST_H_ */
54 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines