1 | /* |
---|
2 | |
---|
3 | Homan Igehy |
---|
4 | |
---|
5 | Computer Graphics Laboratory |
---|
6 | Stanford University |
---|
7 | |
---|
8 | --------------------------------------------------------------------- |
---|
9 | |
---|
10 | Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
11 | University. Except for commercial resale, lease, license or other |
---|
12 | commercial transactions, permission is hereby given to use, copy, |
---|
13 | modify this software for academic purposes only. No part of this |
---|
14 | software or any derivatives thereof may be used in the production of |
---|
15 | computer models for resale or for use in a commercial |
---|
16 | product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
17 | CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
18 | |
---|
19 | */ |
---|
20 | |
---|
21 | |
---|
22 | /* |
---|
23 | * sl_common.H |
---|
24 | * |
---|
25 | */ |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | #ifndef SL_COMMON_H |
---|
30 | #define SL_COMMON_H |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | #include "sl_val.H" |
---|
35 | #include "sl_vertex.H" |
---|
36 | #include "sl_texture.H" |
---|
37 | #include "sl_framebuffer.H" |
---|
38 | #include "sl_hack.H" |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | ///////////////////////////////////////////////////// |
---|
44 | // routines for scan converting given structures // |
---|
45 | ///////////////////////////////////////////////////// |
---|
46 | |
---|
47 | #ifdef jsasadj |
---|
48 | |
---|
49 | |
---|
50 | static inline void |
---|
51 | SL_ScanConvertRL(const SL_FullEdge &fe, |
---|
52 | const SL_SlopeEdge &se, |
---|
53 | const SL_MinEdge &me, |
---|
54 | Integer cur_y, const Integer y_mid, const Integer y_hi, |
---|
55 | const IN_Slope &inddx, |
---|
56 | const IS_CAttr &cattr, |
---|
57 | const FB_Buffer &buffer); |
---|
58 | |
---|
59 | static inline void |
---|
60 | SL_ScanConvertRL(const SL_FullEdge &fe, |
---|
61 | const SL_SlopeEdge &se, |
---|
62 | const SL_MinEdge &me, |
---|
63 | Integer cur_y, const Integer y_mid, const Integer y_hi, |
---|
64 | const IN_Slope &inddx, |
---|
65 | const IS_CAttr &cattr, |
---|
66 | const FB_Buffer &buffer); |
---|
67 | |
---|
68 | |
---|
69 | #endif |
---|
70 | |
---|
71 | ///////////////////////////////////////////////////// |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | #include "sl_common.I" |
---|
79 | |
---|
80 | #endif /* SL_COMMON_H */ |
---|