PageRenderTime 21ms CodeModel.GetById 12ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/support/gambit/glu/glu-header.scm

http://github.com/dharmatech/abstracting
Scheme | 218 lines | 172 code | 25 blank | 21 comment | 0 complexity | ba9b6c42649cf5929d5647d97d5bf957 MD5 | raw file
  1(include "opengl-header.scm")
  2
  3(c-define-type _GLUfuncptr "_GLUfuncptr")
  4(c-define-type GLUnurbs (struct "GLUnurbs"))
  5(c-define-type GLUquadric (struct "GLUquadric"))
  6(c-define-type GLUtesselator (struct "GLUtesselator"))
  7(c-define-type GLUnurbsObj GLUnurbs)
  8(c-define-type GLUquadricObj GLUquadric)
  9(c-define-type GLUtesselatorObj GLUtesselator)
 10(c-define-type  GLUtriangulatorObj GLUtesselator)
 11
 12(c-define-type GLUnurbs* (pointer GLUnurbs))
 13(c-define-type GLUquadric* (pointer GLUquadric))
 14(c-define-type GLUtesselator* (pointer GLUtesselator))
 15(c-define-type GLUnurbsObj* (pointer GLUnurbsObj))
 16(c-define-type GLUquadricObj* (pointer GLUquadricObj))
 17(c-define-type GLUtesselatorObj* (pointer GLUtesselatorObj))
 18(c-define-type GLUtriangulatorObj* (pointer GLUtriangulatorObj))
 19(c-define-type void* (pointer void))
 20
 21
 22(define GLU_EXT_object_space_tess 1)
 23(define GLU_EXT_nurbs_tessellator 1)
 24
 25;/* Boolean* /
 26(define GLU_FALSE 0)
 27(define GLU_TRUE 1)
 28
 29;/* Version* /
 30(define GLU_VERSION_1_1 1)
 31(define GLU_VERSION_1_2 1)
 32(define GLU_VERSION_1_3 1)
 33
 34;/* StringName* /
 35(define GLU_VERSION 100800)
 36(define GLU_EXTENSIONS 100801)
 37
 38;/* ErrorCode* /
 39(define GLU_INVALID_ENUM 100900)
 40(define GLU_INVALID_VALUE 100901)
 41(define GLU_OUT_OF_MEMORY 100902)
 42(define GLU_INCOMPATIBLE_GL_VERSION 100903)
 43(define GLU_INVALID_OPERATION 100904)
 44
 45;; /* NurbsDisplay* /
 46;; /*      GLU_FILL* /
 47(define GLU_OUTLINE_POLYGON 100240)
 48(define GLU_OUTLINE_PATCH 100241)
 49
 50;/* NurbsCallback* /
 51(define GLU_NURBS_ERROR 100103)
 52(define GLU_ERROR 100103)
 53(define GLU_NURBS_BEGIN 100164)
 54(define GLU_NURBS_BEGIN_EXT 100164)
 55(define GLU_NURBS_VERTEX 100165)
 56(define GLU_NURBS_VERTEX_EXT 100165)
 57(define GLU_NURBS_NORMAL 100166)
 58(define GLU_NURBS_NORMAL_EXT 100166)
 59(define GLU_NURBS_COLOR 100167)
 60(define GLU_NURBS_COLOR_EXT 100167)
 61(define GLU_NURBS_TEXTURE_COORD 100168)
 62(define GLU_NURBS_TEX_COORD_EXT 100168)
 63(define GLU_NURBS_END 100169)
 64(define GLU_NURBS_END_EXT 100169)
 65(define GLU_NURBS_BEGIN_DATA 100170)
 66(define GLU_NURBS_BEGIN_DATA_EXT 100170)
 67(define GLU_NURBS_VERTEX_DATA 100171)
 68(define GLU_NURBS_VERTEX_DATA_EXT 100171)
 69(define GLU_NURBS_NORMAL_DATA 100172)
 70(define GLU_NURBS_NORMAL_DATA_EXT 100172)
 71(define GLU_NURBS_COLOR_DATA 100173)
 72(define GLU_NURBS_COLOR_DATA_EXT 100173)
 73(define GLU_NURBS_TEXTURE_COORD_DATA 100174)
 74(define GLU_NURBS_TEX_COORD_DATA_EXT 100174)
 75(define GLU_NURBS_END_DATA 100175)
 76(define GLU_NURBS_END_DATA_EXT 100175)
 77
 78;/* NurbsError* /
 79(define GLU_NURBS_ERROR1 100251)
 80(define GLU_NURBS_ERROR2 100252)
 81(define GLU_NURBS_ERROR3 100253)
 82(define GLU_NURBS_ERROR4 100254)
 83(define GLU_NURBS_ERROR5 100255)
 84(define GLU_NURBS_ERROR6 100256)
 85(define GLU_NURBS_ERROR7 100257)
 86(define GLU_NURBS_ERROR8 100258)
 87(define GLU_NURBS_ERROR9 100259)
 88(define GLU_NURBS_ERROR10 100260)
 89(define GLU_NURBS_ERROR11 100261)
 90(define GLU_NURBS_ERROR12 100262)
 91(define GLU_NURBS_ERROR13 100263)
 92(define GLU_NURBS_ERROR14 100264)
 93(define GLU_NURBS_ERROR15 100265)
 94(define GLU_NURBS_ERROR16 100266)
 95(define GLU_NURBS_ERROR17 100267)
 96(define GLU_NURBS_ERROR18 100268)
 97(define GLU_NURBS_ERROR19 100269)
 98(define GLU_NURBS_ERROR20 100270)
 99(define GLU_NURBS_ERROR21 100271)
100(define GLU_NURBS_ERROR22 100272)
101(define GLU_NURBS_ERROR23 100273)
102(define GLU_NURBS_ERROR24 100274)
103(define GLU_NURBS_ERROR25 100275)
104(define GLU_NURBS_ERROR26 100276)
105(define GLU_NURBS_ERROR27 100277)
106(define GLU_NURBS_ERROR28 100278)
107(define GLU_NURBS_ERROR29 100279)
108(define GLU_NURBS_ERROR30 100280)
109(define GLU_NURBS_ERROR31 100281)
110(define GLU_NURBS_ERROR32 100282)
111(define GLU_NURBS_ERROR33 100283)
112(define GLU_NURBS_ERROR34 100284)
113(define GLU_NURBS_ERROR35 100285)
114(define GLU_NURBS_ERROR36 100286)
115(define GLU_NURBS_ERROR37 100287)
116
117;/* NurbsProperty* /
118(define GLU_AUTO_LOAD_MATRIX 100200)
119(define GLU_CULLING 100201)
120(define GLU_SAMPLING_TOLERANCE 100203)
121(define GLU_DISPLAY_MODE 100204)
122(define GLU_PARAMETRIC_TOLERANCE 100202)
123(define GLU_SAMPLING_METHOD 100205)
124(define GLU_U_STEP 100206)
125(define GLU_V_STEP 100207)
126(define GLU_NURBS_MODE 100160)
127(define GLU_NURBS_MODE_EXT 100160)
128(define GLU_NURBS_TESSELLATOR 100161)
129(define GLU_NURBS_TESSELLATOR_EXT 100161)
130(define GLU_NURBS_RENDERER 100162)
131(define GLU_NURBS_RENDERER_EXT 100162)
132
133;/* NurbsSampling* /
134(define GLU_OBJECT_PARAMETRIC_ERROR 100208)
135(define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208)
136(define GLU_OBJECT_PATH_LENGTH 100209)
137(define GLU_OBJECT_PATH_LENGTH_EXT 100209)
138(define GLU_PATH_LENGTH 100215)
139(define GLU_PARAMETRIC_ERROR 100216)
140(define GLU_DOMAIN_DISTANCE 100217)
141
142;/* NurbsTrim* /
143(define GLU_MAP1_TRIM_2 100210)
144(define GLU_MAP1_TRIM_3 100211)
145
146;/* QuadricDrawStyle* /
147(define GLU_POINT 100010)
148(define GLU_LINE 100011)
149(define GLU_FILL 100012)
150(define GLU_SILHOUETTE 100013)
151
152;; /* QuadricCallback* /
153;; /*      GLU_ERROR* /
154
155;/* QuadricNormal* /
156(define GLU_SMOOTH 100000)
157(define GLU_FLAT 100001)
158(define GLU_NONE 100002)
159
160;/* QuadricOrientation* /
161(define GLU_OUTSIDE 100020)
162(define GLU_INSIDE 100021)
163
164;/* TessCallback* /
165(define GLU_TESS_BEGIN 100100)
166(define GLU_BEGIN 100100)
167(define GLU_TESS_VERTEX 100101)
168(define GLU_VERTEX 100101)
169(define GLU_TESS_END 100102)
170(define GLU_END 100102)
171(define GLU_TESS_ERROR 100103)
172(define GLU_TESS_EDGE_FLAG 100104)
173(define GLU_EDGE_FLAG 100104)
174(define GLU_TESS_COMBINE 100105)
175(define GLU_TESS_BEGIN_DATA 100106)
176(define GLU_TESS_VERTEX_DATA 100107)
177(define GLU_TESS_END_DATA 100108)
178(define GLU_TESS_ERROR_DATA 100109)
179(define GLU_TESS_EDGE_FLAG_DATA 100110)
180(define GLU_TESS_COMBINE_DATA 100111)
181
182;/* TessContour* /
183(define GLU_CW 100120)
184(define GLU_CCW 100121)
185(define GLU_INTERIOR 100122)
186(define GLU_EXTERIOR 100123)
187(define GLU_UNKNOWN 100124)
188
189;/* TessProperty* /
190(define GLU_TESS_WINDING_RULE 100140)
191(define GLU_TESS_BOUNDARY_ONLY 100141)
192(define GLU_TESS_TOLERANCE 100142)
193
194;/* TessError* /
195(define GLU_TESS_ERROR1 100151)
196(define GLU_TESS_ERROR2 100152)
197(define GLU_TESS_ERROR3 100153)
198(define GLU_TESS_ERROR4 100154)
199(define GLU_TESS_ERROR5 100155)
200(define GLU_TESS_ERROR6 100156)
201(define GLU_TESS_ERROR7 100157)
202(define GLU_TESS_ERROR8 100158)
203(define GLU_TESS_MISSING_BEGIN_POLYGON 100151)
204(define GLU_TESS_MISSING_BEGIN_CONTOUR 100152)
205(define GLU_TESS_MISSING_END_POLYGON 100153)
206(define GLU_TESS_MISSING_END_CONTOUR 100154)
207(define GLU_TESS_COORD_TOO_LARGE 100155)
208(define GLU_TESS_NEED_COMBINE_CALLBACK 100156)
209
210;/* TessWinding* /
211(define GLU_TESS_WINDING_ODD 100130)
212(define GLU_TESS_WINDING_NONZERO 100131)
213(define GLU_TESS_WINDING_POSITIVE 100132)
214(define GLU_TESS_WINDING_NEGATIVE 100133)
215(define GLU_TESS_WINDING_ABS_GEQ_TWO 100134)
216
217
218(define GLU_TESS_MAX_COORD 1e150)