1 /* Converted to D from wrap/cHeaders/GL/glu.hpp by htod */ 2 module wrap/cHeaders/GL/glu; 3 /* 4 ** License Applicability. Except to the extent portions of this file are 5 ** made subject to an alternative license as permitted in the SGI Free 6 ** Software License B, Version 1.1 (the "License"), the contents of this 7 ** file are subject only to the provisions of the License. You may not use 8 ** this file except in compliance with the License. You may obtain a copy 9 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 10 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: 11 ** 12 ** http://oss.sgi.com/projects/FreeB 13 ** 14 ** Note that, as provided in the License, the Software is distributed on an 15 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS 16 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND 17 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A 18 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 19 ** 20 ** Original Code. The Original Code is: OpenGL Sample Implementation, 21 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, 22 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. 23 ** Copyright in any portions created by third parties is as indicated 24 ** elsewhere herein. All Rights Reserved. 25 ** 26 ** Additional Notice Provisions: This software was created using the 27 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has 28 ** not been independently verified as being compliant with the OpenGL(R) 29 ** version 1.2.1 Specification. 30 */ 31 32 //#ifndef __glu_h__ 33 //#define __glu_h__ 34 // 35 //#if defined(USE_MGL_NAMESPACE) 36 //#include "glu_mangle.h" 37 //#endif 38 // 39 //C #include <GL/gl.hpp> 40 import std.c.gl; 41 42 //C #ifndef GLAPIENTRY 43 //C #define GLAPIENTRY 44 //C #endif 45 46 //C #ifndef GLAPIENTRYP 47 //C #define GLAPIENTRYP GLAPIENTRY * 48 //C #endif 49 50 //C #ifndef GLAPI 51 //C #define GLAPI 52 //C #endif 53 54 /*************************************************************/ 55 56 /* Extensions */ 57 //C #define GLU_EXT_object_space_tess 1 58 //C #define GLU_EXT_nurbs_tessellator 1 59 const GLU_EXT_object_space_tess = 1; 60 61 const GLU_EXT_nurbs_tessellator = 1; 62 /* Boolean */ 63 //C #define GLU_FALSE 0 64 //C #define GLU_TRUE 1 65 const GLU_FALSE = 0; 66 67 const GLU_TRUE = 1; 68 /* Version */ 69 //C #define GLU_VERSION_1_1 1 70 //C #define GLU_VERSION_1_2 1 71 const GLU_VERSION_1_1 = 1; 72 //C #define GLU_VERSION_1_3 1 73 const GLU_VERSION_1_2 = 1; 74 75 const GLU_VERSION_1_3 = 1; 76 /* StringName */ 77 //C #define GLU_VERSION 100800 78 //C #define GLU_EXTENSIONS 100801 79 const GLU_VERSION = 100800; 80 81 const GLU_EXTENSIONS = 100801; 82 /* ErrorCode */ 83 //C #define GLU_INVALID_ENUM 100900 84 //C #define GLU_INVALID_VALUE 100901 85 const GLU_INVALID_ENUM = 100900; 86 //C #define GLU_OUT_OF_MEMORY 100902 87 const GLU_INVALID_VALUE = 100901; 88 //C #define GLU_INCOMPATIBLE_GL_VERSION 100903 89 const GLU_OUT_OF_MEMORY = 100902; 90 //C #define GLU_INVALID_OPERATION 100904 91 const GLU_INCOMPATIBLE_GL_VERSION = 100903; 92 93 const GLU_INVALID_OPERATION = 100904; 94 /* NurbsDisplay */ 95 /* GLU_FILL */ 96 //C #define GLU_OUTLINE_POLYGON 100240 97 //C #define GLU_OUTLINE_PATCH 100241 98 const GLU_OUTLINE_POLYGON = 100240; 99 100 const GLU_OUTLINE_PATCH = 100241; 101 /* NurbsCallback */ 102 //C #define GLU_NURBS_ERROR 100103 103 //C #define GLU_ERROR 100103 104 const GLU_NURBS_ERROR = 100103; 105 //C #define GLU_NURBS_BEGIN 100164 106 const GLU_ERROR = 100103; 107 //C #define GLU_NURBS_BEGIN_EXT 100164 108 const GLU_NURBS_BEGIN = 100164; 109 //C #define GLU_NURBS_VERTEX 100165 110 const GLU_NURBS_BEGIN_EXT = 100164; 111 //C #define GLU_NURBS_VERTEX_EXT 100165 112 const GLU_NURBS_VERTEX = 100165; 113 //C #define GLU_NURBS_NORMAL 100166 114 const GLU_NURBS_VERTEX_EXT = 100165; 115 //C #define GLU_NURBS_NORMAL_EXT 100166 116 const GLU_NURBS_NORMAL = 100166; 117 //C #define GLU_NURBS_COLOR 100167 118 const GLU_NURBS_NORMAL_EXT = 100166; 119 //C #define GLU_NURBS_COLOR_EXT 100167 120 const GLU_NURBS_COLOR = 100167; 121 //C #define GLU_NURBS_TEXTURE_COORD 100168 122 const GLU_NURBS_COLOR_EXT = 100167; 123 //C #define GLU_NURBS_TEX_COORD_EXT 100168 124 const GLU_NURBS_TEXTURE_COORD = 100168; 125 //C #define GLU_NURBS_END 100169 126 const GLU_NURBS_TEX_COORD_EXT = 100168; 127 //C #define GLU_NURBS_END_EXT 100169 128 const GLU_NURBS_END = 100169; 129 //C #define GLU_NURBS_BEGIN_DATA 100170 130 const GLU_NURBS_END_EXT = 100169; 131 //C #define GLU_NURBS_BEGIN_DATA_EXT 100170 132 const GLU_NURBS_BEGIN_DATA = 100170; 133 //C #define GLU_NURBS_VERTEX_DATA 100171 134 const GLU_NURBS_BEGIN_DATA_EXT = 100170; 135 //C #define GLU_NURBS_VERTEX_DATA_EXT 100171 136 const GLU_NURBS_VERTEX_DATA = 100171; 137 //C #define GLU_NURBS_NORMAL_DATA 100172 138 const GLU_NURBS_VERTEX_DATA_EXT = 100171; 139 //C #define GLU_NURBS_NORMAL_DATA_EXT 100172 140 const GLU_NURBS_NORMAL_DATA = 100172; 141 //C #define GLU_NURBS_COLOR_DATA 100173 142 const GLU_NURBS_NORMAL_DATA_EXT = 100172; 143 //C #define GLU_NURBS_COLOR_DATA_EXT 100173 144 const GLU_NURBS_COLOR_DATA = 100173; 145 //C #define GLU_NURBS_TEXTURE_COORD_DATA 100174 146 const GLU_NURBS_COLOR_DATA_EXT = 100173; 147 //C #define GLU_NURBS_TEX_COORD_DATA_EXT 100174 148 const GLU_NURBS_TEXTURE_COORD_DATA = 100174; 149 //C #define GLU_NURBS_END_DATA 100175 150 const GLU_NURBS_TEX_COORD_DATA_EXT = 100174; 151 //C #define GLU_NURBS_END_DATA_EXT 100175 152 const GLU_NURBS_END_DATA = 100175; 153 154 const GLU_NURBS_END_DATA_EXT = 100175; 155 /* NurbsError */ 156 //C #define GLU_NURBS_ERROR1 100251 157 //C #define GLU_NURBS_ERROR2 100252 158 const GLU_NURBS_ERROR1 = 100251; 159 //C #define GLU_NURBS_ERROR3 100253 160 const GLU_NURBS_ERROR2 = 100252; 161 //C #define GLU_NURBS_ERROR4 100254 162 const GLU_NURBS_ERROR3 = 100253; 163 //C #define GLU_NURBS_ERROR5 100255 164 const GLU_NURBS_ERROR4 = 100254; 165 //C #define GLU_NURBS_ERROR6 100256 166 const GLU_NURBS_ERROR5 = 100255; 167 //C #define GLU_NURBS_ERROR7 100257 168 const GLU_NURBS_ERROR6 = 100256; 169 //C #define GLU_NURBS_ERROR8 100258 170 const GLU_NURBS_ERROR7 = 100257; 171 //C #define GLU_NURBS_ERROR9 100259 172 const GLU_NURBS_ERROR8 = 100258; 173 //C #define GLU_NURBS_ERROR10 100260 174 const GLU_NURBS_ERROR9 = 100259; 175 //C #define GLU_NURBS_ERROR11 100261 176 const GLU_NURBS_ERROR10 = 100260; 177 //C #define GLU_NURBS_ERROR12 100262 178 const GLU_NURBS_ERROR11 = 100261; 179 //C #define GLU_NURBS_ERROR13 100263 180 const GLU_NURBS_ERROR12 = 100262; 181 //C #define GLU_NURBS_ERROR14 100264 182 const GLU_NURBS_ERROR13 = 100263; 183 //C #define GLU_NURBS_ERROR15 100265 184 const GLU_NURBS_ERROR14 = 100264; 185 //C #define GLU_NURBS_ERROR16 100266 186 const GLU_NURBS_ERROR15 = 100265; 187 //C #define GLU_NURBS_ERROR17 100267 188 const GLU_NURBS_ERROR16 = 100266; 189 //C #define GLU_NURBS_ERROR18 100268 190 const GLU_NURBS_ERROR17 = 100267; 191 //C #define GLU_NURBS_ERROR19 100269 192 const GLU_NURBS_ERROR18 = 100268; 193 //C #define GLU_NURBS_ERROR20 100270 194 const GLU_NURBS_ERROR19 = 100269; 195 //C #define GLU_NURBS_ERROR21 100271 196 const GLU_NURBS_ERROR20 = 100270; 197 //C #define GLU_NURBS_ERROR22 100272 198 const GLU_NURBS_ERROR21 = 100271; 199 //C #define GLU_NURBS_ERROR23 100273 200 const GLU_NURBS_ERROR22 = 100272; 201 //C #define GLU_NURBS_ERROR24 100274 202 const GLU_NURBS_ERROR23 = 100273; 203 //C #define GLU_NURBS_ERROR25 100275 204 const GLU_NURBS_ERROR24 = 100274; 205 //C #define GLU_NURBS_ERROR26 100276 206 const GLU_NURBS_ERROR25 = 100275; 207 //C #define GLU_NURBS_ERROR27 100277 208 const GLU_NURBS_ERROR26 = 100276; 209 //C #define GLU_NURBS_ERROR28 100278 210 const GLU_NURBS_ERROR27 = 100277; 211 //C #define GLU_NURBS_ERROR29 100279 212 const GLU_NURBS_ERROR28 = 100278; 213 //C #define GLU_NURBS_ERROR30 100280 214 const GLU_NURBS_ERROR29 = 100279; 215 //C #define GLU_NURBS_ERROR31 100281 216 const GLU_NURBS_ERROR30 = 100280; 217 //C #define GLU_NURBS_ERROR32 100282 218 const GLU_NURBS_ERROR31 = 100281; 219 //C #define GLU_NURBS_ERROR33 100283 220 const GLU_NURBS_ERROR32 = 100282; 221 //C #define GLU_NURBS_ERROR34 100284 222 const GLU_NURBS_ERROR33 = 100283; 223 //C #define GLU_NURBS_ERROR35 100285 224 const GLU_NURBS_ERROR34 = 100284; 225 //C #define GLU_NURBS_ERROR36 100286 226 const GLU_NURBS_ERROR35 = 100285; 227 //C #define GLU_NURBS_ERROR37 100287 228 const GLU_NURBS_ERROR36 = 100286; 229 230 const GLU_NURBS_ERROR37 = 100287; 231 /* NurbsProperty */ 232 //C #define GLU_AUTO_LOAD_MATRIX 100200 233 //C #define GLU_CULLING 100201 234 const GLU_AUTO_LOAD_MATRIX = 100200; 235 //C #define GLU_SAMPLING_TOLERANCE 100203 236 const GLU_CULLING = 100201; 237 //C #define GLU_DISPLAY_MODE 100204 238 const GLU_SAMPLING_TOLERANCE = 100203; 239 //C #define GLU_PARAMETRIC_TOLERANCE 100202 240 const GLU_DISPLAY_MODE = 100204; 241 //C #define GLU_SAMPLING_METHOD 100205 242 const GLU_PARAMETRIC_TOLERANCE = 100202; 243 //C #define GLU_U_STEP 100206 244 const GLU_SAMPLING_METHOD = 100205; 245 //C #define GLU_V_STEP 100207 246 const GLU_U_STEP = 100206; 247 //C #define GLU_NURBS_MODE 100160 248 const GLU_V_STEP = 100207; 249 //C #define GLU_NURBS_MODE_EXT 100160 250 const GLU_NURBS_MODE = 100160; 251 //C #define GLU_NURBS_TESSELLATOR 100161 252 const GLU_NURBS_MODE_EXT = 100160; 253 //C #define GLU_NURBS_TESSELLATOR_EXT 100161 254 const GLU_NURBS_TESSELLATOR = 100161; 255 //C #define GLU_NURBS_RENDERER 100162 256 const GLU_NURBS_TESSELLATOR_EXT = 100161; 257 //C #define GLU_NURBS_RENDERER_EXT 100162 258 const GLU_NURBS_RENDERER = 100162; 259 260 const GLU_NURBS_RENDERER_EXT = 100162; 261 /* NurbsSampling */ 262 //C #define GLU_OBJECT_PARAMETRIC_ERROR 100208 263 //C #define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208 264 const GLU_OBJECT_PARAMETRIC_ERROR = 100208; 265 //C #define GLU_OBJECT_PATH_LENGTH 100209 266 const GLU_OBJECT_PARAMETRIC_ERROR_EXT = 100208; 267 //C #define GLU_OBJECT_PATH_LENGTH_EXT 100209 268 const GLU_OBJECT_PATH_LENGTH = 100209; 269 //C #define GLU_PATH_LENGTH 100215 270 const GLU_OBJECT_PATH_LENGTH_EXT = 100209; 271 //C #define GLU_PARAMETRIC_ERROR 100216 272 const GLU_PATH_LENGTH = 100215; 273 //C #define GLU_DOMAIN_DISTANCE 100217 274 const GLU_PARAMETRIC_ERROR = 100216; 275 276 const GLU_DOMAIN_DISTANCE = 100217; 277 /* NurbsTrim */ 278 //C #define GLU_MAP1_TRIM_2 100210 279 //C #define GLU_MAP1_TRIM_3 100211 280 const GLU_MAP1_TRIM_2 = 100210; 281 282 const GLU_MAP1_TRIM_3 = 100211; 283 /* QuadricDrawStyle */ 284 //C #define GLU_POINT 100010 285 //C #define GLU_LINE 100011 286 const GLU_POINT = 100010; 287 //C #define GLU_FILL 100012 288 const GLU_LINE = 100011; 289 //C #define GLU_SILHOUETTE 100013 290 const GLU_FILL = 100012; 291 292 const GLU_SILHOUETTE = 100013; 293 /* QuadricCallback */ 294 /* GLU_ERROR */ 295 296 /* QuadricNormal */ 297 //C #define GLU_SMOOTH 100000 298 //C #define GLU_FLAT 100001 299 const GLU_SMOOTH = 100000; 300 //C #define GLU_NONE 100002 301 const GLU_FLAT = 100001; 302 303 const GLU_NONE = 100002; 304 /* QuadricOrientation */ 305 //C #define GLU_OUTSIDE 100020 306 //C #define GLU_INSIDE 100021 307 const GLU_OUTSIDE = 100020; 308 309 const GLU_INSIDE = 100021; 310 /* TessCallback */ 311 //C #define GLU_TESS_BEGIN 100100 312 //C #define GLU_BEGIN 100100 313 const GLU_TESS_BEGIN = 100100; 314 //C #define GLU_TESS_VERTEX 100101 315 const GLU_BEGIN = 100100; 316 //C #define GLU_VERTEX 100101 317 const GLU_TESS_VERTEX = 100101; 318 //C #define GLU_TESS_END 100102 319 const GLU_VERTEX = 100101; 320 //C #define GLU_END 100102 321 const GLU_TESS_END = 100102; 322 //C #define GLU_TESS_ERROR 100103 323 const GLU_END = 100102; 324 //C #define GLU_TESS_EDGE_FLAG 100104 325 const GLU_TESS_ERROR = 100103; 326 //C #define GLU_EDGE_FLAG 100104 327 const GLU_TESS_EDGE_FLAG = 100104; 328 //C #define GLU_TESS_COMBINE 100105 329 const GLU_EDGE_FLAG = 100104; 330 //C #define GLU_TESS_BEGIN_DATA 100106 331 const GLU_TESS_COMBINE = 100105; 332 //C #define GLU_TESS_VERTEX_DATA 100107 333 const GLU_TESS_BEGIN_DATA = 100106; 334 //C #define GLU_TESS_END_DATA 100108 335 const GLU_TESS_VERTEX_DATA = 100107; 336 //C #define GLU_TESS_ERROR_DATA 100109 337 const GLU_TESS_END_DATA = 100108; 338 //C #define GLU_TESS_EDGE_FLAG_DATA 100110 339 const GLU_TESS_ERROR_DATA = 100109; 340 //C #define GLU_TESS_COMBINE_DATA 100111 341 const GLU_TESS_EDGE_FLAG_DATA = 100110; 342 343 const GLU_TESS_COMBINE_DATA = 100111; 344 /* TessContour */ 345 //C #define GLU_CW 100120 346 //C #define GLU_CCW 100121 347 const GLU_CW = 100120; 348 //C #define GLU_INTERIOR 100122 349 const GLU_CCW = 100121; 350 //C #define GLU_EXTERIOR 100123 351 const GLU_INTERIOR = 100122; 352 //C #define GLU_UNKNOWN 100124 353 const GLU_EXTERIOR = 100123; 354 355 const GLU_UNKNOWN = 100124; 356 /* TessProperty */ 357 //C #define GLU_TESS_WINDING_RULE 100140 358 //C #define GLU_TESS_BOUNDARY_ONLY 100141 359 const GLU_TESS_WINDING_RULE = 100140; 360 //C #define GLU_TESS_TOLERANCE 100142 361 const GLU_TESS_BOUNDARY_ONLY = 100141; 362 363 const GLU_TESS_TOLERANCE = 100142; 364 /* TessError */ 365 //C #define GLU_TESS_ERROR1 100151 366 //C #define GLU_TESS_ERROR2 100152 367 const GLU_TESS_ERROR1 = 100151; 368 //C #define GLU_TESS_ERROR3 100153 369 const GLU_TESS_ERROR2 = 100152; 370 //C #define GLU_TESS_ERROR4 100154 371 const GLU_TESS_ERROR3 = 100153; 372 //C #define GLU_TESS_ERROR5 100155 373 const GLU_TESS_ERROR4 = 100154; 374 //C #define GLU_TESS_ERROR6 100156 375 const GLU_TESS_ERROR5 = 100155; 376 //C #define GLU_TESS_ERROR7 100157 377 const GLU_TESS_ERROR6 = 100156; 378 //C #define GLU_TESS_ERROR8 100158 379 const GLU_TESS_ERROR7 = 100157; 380 //C #define GLU_TESS_MISSING_BEGIN_POLYGON 100151 381 const GLU_TESS_ERROR8 = 100158; 382 //C #define GLU_TESS_MISSING_BEGIN_CONTOUR 100152 383 const GLU_TESS_MISSING_BEGIN_POLYGON = 100151; 384 //C #define GLU_TESS_MISSING_END_POLYGON 100153 385 const GLU_TESS_MISSING_BEGIN_CONTOUR = 100152; 386 //C #define GLU_TESS_MISSING_END_CONTOUR 100154 387 const GLU_TESS_MISSING_END_POLYGON = 100153; 388 //C #define GLU_TESS_COORD_TOO_LARGE 100155 389 const GLU_TESS_MISSING_END_CONTOUR = 100154; 390 //C #define GLU_TESS_NEED_COMBINE_CALLBACK 100156 391 const GLU_TESS_COORD_TOO_LARGE = 100155; 392 393 const GLU_TESS_NEED_COMBINE_CALLBACK = 100156; 394 /* TessWinding */ 395 //C #define GLU_TESS_WINDING_ODD 100130 396 //C #define GLU_TESS_WINDING_NONZERO 100131 397 const GLU_TESS_WINDING_ODD = 100130; 398 //C #define GLU_TESS_WINDING_POSITIVE 100132 399 const GLU_TESS_WINDING_NONZERO = 100131; 400 //C #define GLU_TESS_WINDING_NEGATIVE 100133 401 const GLU_TESS_WINDING_POSITIVE = 100132; 402 //C #define GLU_TESS_WINDING_ABS_GEQ_TWO 100134 403 const GLU_TESS_WINDING_NEGATIVE = 100133; 404 405 const GLU_TESS_WINDING_ABS_GEQ_TWO = 100134; 406 /*************************************************************/ 407 408 409 //#ifdef __cplusplus 410 //class GLUnurbs; 411 //class GLUquadric; 412 //class GLUtesselator; 413 //#else 414 //C struct GLUnurbs; 415 //C struct GLUquadric; 416 //C struct GLUtesselator; 417 //#endif 418 419 //C typedef GLUnurbs GLUnurbsObj; 420 extern (C): 421 alias int GLUnurbs; 422 //C typedef GLUquadric GLUquadricObj; 423 alias int GLUquadric; 424 //C typedef GLUtesselator GLUtesselatorObj; 425 alias int GLUtesselator; 426 //C typedef GLUtesselator GLUtriangulatorObj; 427 alias GLUtesselator GLUtriangulatorObj; 428 429 //C #define GLU_TESS_MAX_COORD 1.0e150 430 431 const GLU_TESS_MAX_COORD = 1.0e150; 432 /* Internal convenience typedefs */ 433 //C typedef void (GLAPIENTRYP _GLUfuncptr)(void); 434 alias void function()_GLUfuncptr; 435 436 //C GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb); 437 void gluBeginCurve(GLUnurbs *nurb); 438 //C GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess); 439 void gluBeginPolygon(GLUtesselator *tess); 440 //C GLAPI void GLAPIENTRY gluBeginSurface (GLUnurbs* nurb); 441 void gluBeginSurface(GLUnurbs *nurb); 442 //C GLAPI void GLAPIENTRY gluBeginTrim (GLUnurbs* nurb); 443 void gluBeginTrim(GLUnurbs *nurb); 444 //C GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); 445 GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, void *data); 446 //C GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data); 447 GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, void *data); 448 //C GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); 449 GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, void *data); 450 //C GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data); 451 GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, void *data); 452 //C GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); 453 GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, void *data); 454 //C GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 455 GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *data); 456 //C GLAPI GLboolean GLAPIENTRY gluCheckExtension (const GLubyte *extName, const GLubyte *extString); 457 GLboolean gluCheckExtension(GLubyte *extName, GLubyte *extString); 458 //C GLAPI void GLAPIENTRY gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks); 459 void gluCylinder(GLUquadric *quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks); 460 //C GLAPI void GLAPIENTRY gluDeleteNurbsRenderer (GLUnurbs* nurb); 461 void gluDeleteNurbsRenderer(GLUnurbs *nurb); 462 //C GLAPI void GLAPIENTRY gluDeleteQuadric (GLUquadric* quad); 463 void gluDeleteQuadric(GLUquadric *quad); 464 //C GLAPI void GLAPIENTRY gluDeleteTess (GLUtesselator* tess); 465 void gluDeleteTess(GLUtesselator *tess); 466 //C GLAPI void GLAPIENTRY gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops); 467 void gluDisk(GLUquadric *quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops); 468 //C GLAPI void GLAPIENTRY gluEndCurve (GLUnurbs* nurb); 469 void gluEndCurve(GLUnurbs *nurb); 470 //C GLAPI void GLAPIENTRY gluEndPolygon (GLUtesselator* tess); 471 void gluEndPolygon(GLUtesselator *tess); 472 //C GLAPI void GLAPIENTRY gluEndSurface (GLUnurbs* nurb); 473 void gluEndSurface(GLUnurbs *nurb); 474 //C GLAPI void GLAPIENTRY gluEndTrim (GLUnurbs* nurb); 475 void gluEndTrim(GLUnurbs *nurb); 476 //C GLAPI const GLubyte * GLAPIENTRY gluErrorString (GLenum error); 477 GLubyte * gluErrorString(GLenum error); 478 //C GLAPI void GLAPIENTRY gluGetNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat* data); 479 void gluGetNurbsProperty(GLUnurbs *nurb, GLenum property, GLfloat *data); 480 //C GLAPI const GLubyte * GLAPIENTRY gluGetString (GLenum name); 481 GLubyte * gluGetString(GLenum name); 482 //C GLAPI void GLAPIENTRY gluGetTessProperty (GLUtesselator* tess, GLenum which, GLdouble* data); 483 void gluGetTessProperty(GLUtesselator *tess, GLenum which, GLdouble *data); 484 //C GLAPI void GLAPIENTRY gluLoadSamplingMatrices (GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view); 485 void gluLoadSamplingMatrices(GLUnurbs *nurb, GLfloat *model, GLfloat *perspective, GLint *view); 486 //C GLAPI void GLAPIENTRY gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); 487 void gluLookAt(GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); 488 //C GLAPI GLUnurbs* GLAPIENTRY gluNewNurbsRenderer (void); 489 GLUnurbs * gluNewNurbsRenderer(); 490 //C GLAPI GLUquadric* GLAPIENTRY gluNewQuadric (void); 491 GLUquadric * gluNewQuadric(); 492 //C GLAPI GLUtesselator* GLAPIENTRY gluNewTess (void); 493 GLUtesselator * gluNewTess(); 494 //C GLAPI void GLAPIENTRY gluNextContour (GLUtesselator* tess, GLenum type); 495 void gluNextContour(GLUtesselator *tess, GLenum type); 496 //C GLAPI void GLAPIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which, _GLUfuncptr CallBackFunc); 497 void gluNurbsCallback(GLUnurbs *nurb, GLenum which, _GLUfuncptr CallBackFunc); 498 //C GLAPI void GLAPIENTRY gluNurbsCallbackData (GLUnurbs* nurb, GLvoid* userData); 499 void gluNurbsCallbackData(GLUnurbs *nurb, GLvoid *userData); 500 //C GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData); 501 void gluNurbsCallbackDataEXT(GLUnurbs *nurb, GLvoid *userData); 502 //C GLAPI void GLAPIENTRY gluNurbsCurve (GLUnurbs* nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type); 503 void gluNurbsCurve(GLUnurbs *nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type); 504 //C GLAPI void GLAPIENTRY gluNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat value); 505 void gluNurbsProperty(GLUnurbs *nurb, GLenum property, GLfloat value); 506 //C GLAPI void GLAPIENTRY gluNurbsSurface (GLUnurbs* nurb, GLint sKnotCount, GLfloat* sKnots, GLint tKnotCount, GLfloat* tKnots, GLint sStride, GLint tStride, GLfloat* control, GLint sOrder, GLint tOrder, GLenum type); 507 void gluNurbsSurface(GLUnurbs *nurb, GLint sKnotCount, GLfloat *sKnots, GLint tKnotCount, GLfloat *tKnots, GLint sStride, GLint tStride, GLfloat *control, GLint sOrder, GLint tOrder, GLenum type); 508 //C GLAPI void GLAPIENTRY gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); 509 void gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); 510 //C GLAPI void GLAPIENTRY gluPartialDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep); 511 void gluPartialDisk(GLUquadric *quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep); 512 //C GLAPI void GLAPIENTRY gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); 513 void gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); 514 //C GLAPI void GLAPIENTRY gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport); 515 void gluPickMatrix(GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport); 516 //C GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ); 517 GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, GLdouble *model, GLdouble *proj, GLint *view, GLdouble *winX, GLdouble *winY, GLdouble *winZ); 518 //C GLAPI void GLAPIENTRY gluPwlCurve (GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type); 519 void gluPwlCurve(GLUnurbs *nurb, GLint count, GLfloat *data, GLint stride, GLenum type); 520 //C GLAPI void GLAPIENTRY gluQuadricCallback (GLUquadric* quad, GLenum which, _GLUfuncptr CallBackFunc); 521 void gluQuadricCallback(GLUquadric *quad, GLenum which, _GLUfuncptr CallBackFunc); 522 //C GLAPI void GLAPIENTRY gluQuadricDrawStyle (GLUquadric* quad, GLenum draw); 523 void gluQuadricDrawStyle(GLUquadric *quad, GLenum draw); 524 //C GLAPI void GLAPIENTRY gluQuadricNormals (GLUquadric* quad, GLenum normal); 525 void gluQuadricNormals(GLUquadric *quad, GLenum normal); 526 //C GLAPI void GLAPIENTRY gluQuadricOrientation (GLUquadric* quad, GLenum orientation); 527 void gluQuadricOrientation(GLUquadric *quad, GLenum orientation); 528 //C GLAPI void GLAPIENTRY gluQuadricTexture (GLUquadric* quad, GLboolean texture); 529 void gluQuadricTexture(GLUquadric *quad, GLboolean texture); 530 //C GLAPI GLint GLAPIENTRY gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut); 531 GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid *dataOut); 532 //C GLAPI void GLAPIENTRY gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks); 533 void gluSphere(GLUquadric *quad, GLdouble radius, GLint slices, GLint stacks); 534 //C GLAPI void GLAPIENTRY gluTessBeginContour (GLUtesselator* tess); 535 void gluTessBeginContour(GLUtesselator *tess); 536 //C GLAPI void GLAPIENTRY gluTessBeginPolygon (GLUtesselator* tess, GLvoid* data); 537 void gluTessBeginPolygon(GLUtesselator *tess, GLvoid *data); 538 //C GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); 539 void gluTessCallback(GLUtesselator *tess, GLenum which, _GLUfuncptr CallBackFunc); 540 //C GLAPI void GLAPIENTRY gluTessEndContour (GLUtesselator* tess); 541 void gluTessEndContour(GLUtesselator *tess); 542 //C GLAPI void GLAPIENTRY gluTessEndPolygon (GLUtesselator* tess); 543 void gluTessEndPolygon(GLUtesselator *tess); 544 //C GLAPI void GLAPIENTRY gluTessNormal (GLUtesselator* tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ); 545 void gluTessNormal(GLUtesselator *tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ); 546 //C GLAPI void GLAPIENTRY gluTessProperty (GLUtesselator* tess, GLenum which, GLdouble data); 547 void gluTessProperty(GLUtesselator *tess, GLenum which, GLdouble data); 548 //C GLAPI void GLAPIENTRY gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data); 549 void gluTessVertex(GLUtesselator *tess, GLdouble *location, GLvoid *data); 550 //C GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ); 551 GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble *model, GLdouble *proj, GLint *view, GLdouble *objX, GLdouble *objY, GLdouble *objZ); 552 //C GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW); 553 GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, GLdouble *model, GLdouble *proj, GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble *objX, GLdouble *objY, GLdouble *objZ, GLdouble *objW);