… | |
… | |
2386 | const_iv (GL_COLOR_LOGIC_OP), |
2386 | const_iv (GL_COLOR_LOGIC_OP), |
2387 | const_iv (GL_SEPARABLE_2D), |
2387 | const_iv (GL_SEPARABLE_2D), |
2388 | const_iv (GL_CONVOLUTION_2D), |
2388 | const_iv (GL_CONVOLUTION_2D), |
2389 | const_iv (GL_CONVOLUTION_BORDER_MODE), |
2389 | const_iv (GL_CONVOLUTION_BORDER_MODE), |
2390 | const_iv (GL_CONSTANT_BORDER), |
2390 | const_iv (GL_CONSTANT_BORDER), |
|
|
2391 | const_iv (GL_POINTS), |
2391 | const_iv (GL_LINES), |
2392 | const_iv (GL_LINES), |
2392 | const_iv (GL_LINE_STRIP), |
2393 | const_iv (GL_LINE_STRIP), |
2393 | const_iv (GL_LINE_LOOP), |
2394 | const_iv (GL_LINE_LOOP), |
2394 | const_iv (GL_QUADS), |
2395 | const_iv (GL_QUADS), |
2395 | const_iv (GL_QUAD_STRIP), |
2396 | const_iv (GL_QUAD_STRIP), |
2396 | const_iv (GL_TRIANGLES), |
2397 | const_iv (GL_TRIANGLES), |
2397 | const_iv (GL_TRIANGLE_STRIP), |
2398 | const_iv (GL_TRIANGLE_STRIP), |
2398 | const_iv (GL_TRIANGLE_FAN), |
2399 | const_iv (GL_TRIANGLE_FAN), |
|
|
2400 | const_iv (GL_POLYGON), |
2399 | const_iv (GL_PERSPECTIVE_CORRECTION_HINT), |
2401 | const_iv (GL_PERSPECTIVE_CORRECTION_HINT), |
2400 | const_iv (GL_POINT_SMOOTH_HINT), |
2402 | const_iv (GL_POINT_SMOOTH_HINT), |
2401 | const_iv (GL_LINE_SMOOTH_HINT), |
2403 | const_iv (GL_LINE_SMOOTH_HINT), |
2402 | const_iv (GL_POLYGON_SMOOTH_HINT), |
2404 | const_iv (GL_POLYGON_SMOOTH_HINT), |
2403 | const_iv (GL_GENERATE_MIPMAP_HINT), |
2405 | const_iv (GL_GENERATE_MIPMAP_HINT), |
… | |
… | |
2498 | void glFrustum (double left, double right, double bottom, double top, double near_, double far_) |
2500 | void glFrustum (double left, double right, double bottom, double top, double near_, double far_) |
2499 | |
2501 | |
2500 | # near_ and far_ are due to microsofts buggy "c" compiler |
2502 | # near_ and far_ are due to microsofts buggy "c" compiler |
2501 | void glOrtho (double left, double right, double bottom, double top, double near_, double far_) |
2503 | void glOrtho (double left, double right, double bottom, double top, double near_, double far_) |
2502 | |
2504 | |
|
|
2505 | PROTOTYPES: DISABLE |
|
|
2506 | |
2503 | void glViewport (int x, int y, int width, int height) |
2507 | void glViewport (int x, int y, int width, int height) |
2504 | |
2508 | |
2505 | void glScissor (int x, int y, int width, int height) |
2509 | void glScissor (int x, int y, int width, int height) |
2506 | |
2510 | |
2507 | void glTranslate (float x, float y, float z = 0.) |
2511 | void glTranslate (float x, float y, float z = 0.) |
… | |
… | |
2514 | |
2518 | |
2515 | void glRotate (float angle, float x, float y, float z) |
2519 | void glRotate (float angle, float x, float y, float z) |
2516 | CODE: |
2520 | CODE: |
2517 | glRotatef (angle, x, y, z); |
2521 | glRotatef (angle, x, y, z); |
2518 | |
2522 | |
2519 | void glBegin (int mode) |
|
|
2520 | |
|
|
2521 | void glEnd () |
|
|
2522 | |
|
|
2523 | void glColor (float r, float g, float b, float a = 1.0) |
2523 | void glColor (float r, float g, float b, float a = 1.0) |
2524 | PROTOTYPE: @ |
|
|
2525 | ALIAS: |
2524 | ALIAS: |
2526 | glColor_premultiply = 1 |
2525 | glColor_premultiply = 1 |
2527 | CODE: |
2526 | CODE: |
2528 | if (ix) |
2527 | if (ix) |
2529 | { |
2528 | { |
… | |
… | |
2532 | b *= a; |
2531 | b *= a; |
2533 | } |
2532 | } |
2534 | // microsoft visual "c" rounds instead of truncating... |
2533 | // microsoft visual "c" rounds instead of truncating... |
2535 | glColor4f (r, g, b, a); |
2534 | glColor4f (r, g, b, a); |
2536 | |
2535 | |
2537 | void glInterleavedArrays (int format, int stride, char *data) |
|
|
2538 | |
|
|
2539 | void glDrawElements (int mode, int count, int type, char *indices) |
|
|
2540 | |
|
|
2541 | # 1.2 void glDrawRangeElements (int mode, int start, int end |
|
|
2542 | |
|
|
2543 | void glRasterPos (float x, float y, float z = 0.) |
2536 | void glRasterPos (float x, float y, float z = 0.) |
2544 | CODE: |
2537 | CODE: |
2545 | glRasterPos3f (0, 0, z); |
2538 | glRasterPos3f (0, 0, z); |
2546 | glBitmap (0, 0, 0, 0, x, y, 0); |
2539 | glBitmap (0, 0, 0, 0, x, y, 0); |
2547 | |
2540 | |
… | |
… | |
2551 | |
2544 | |
2552 | void glTexCoord (float s, float t) |
2545 | void glTexCoord (float s, float t) |
2553 | CODE: |
2546 | CODE: |
2554 | glTexCoord2f (s, t); |
2547 | glTexCoord2f (s, t); |
2555 | |
2548 | |
|
|
2549 | PROTOTYPES: ENABLE |
|
|
2550 | |
|
|
2551 | void glBegin (int mode) |
|
|
2552 | |
|
|
2553 | void glEnd () |
|
|
2554 | |
|
|
2555 | void glPointSize (GLfloat size) |
|
|
2556 | |
|
|
2557 | void glLineWidth (GLfloat width) |
|
|
2558 | |
|
|
2559 | void glInterleavedArrays (int format, int stride, char *data) |
|
|
2560 | |
|
|
2561 | void glDrawElements (int mode, int count, int type, char *indices) |
|
|
2562 | |
|
|
2563 | # 1.2 void glDrawRangeElements (int mode, int start, int end |
|
|
2564 | |
2556 | void glTexEnv (int target, int pname, float param) |
2565 | void glTexEnv (int target, int pname, float param) |
2557 | CODE: |
2566 | CODE: |
2558 | glTexEnvf (target, pname, param); |
2567 | glTexEnvf (target, pname, param); |
2559 | |
2568 | |
2560 | void glTexParameter (int target, int pname, float param) |
2569 | void glTexParameter (int target, int pname, float param) |