… | |
… | |
1676 | |
1676 | |
1677 | void glDrawElements (int mode, int count, int type, char *indices) |
1677 | void glDrawElements (int mode, int count, int type, char *indices) |
1678 | |
1678 | |
1679 | # 1.2 void glDrawRangeElements (int mode, int start, int end |
1679 | # 1.2 void glDrawRangeElements (int mode, int start, int end |
1680 | |
1680 | |
|
|
1681 | void glRasterPos (float x, float y, float z = 0.) |
|
|
1682 | CODE: |
|
|
1683 | glRasterPos3f (0, 0, z); |
|
|
1684 | glBitmap (0, 0, 0, 0, x, y, 0); |
|
|
1685 | |
1681 | void glVertex (float x, float y, float z = 0.) |
1686 | void glVertex (float x, float y, float z = 0.) |
1682 | CODE: |
1687 | CODE: |
1683 | glVertex3f (x, y, z); |
1688 | glVertex3f (x, y, z); |
1684 | |
1689 | |
1685 | void glTexCoord (float s, float t) |
1690 | void glTexCoord (float s, float t) |
… | |
… | |
1712 | |
1717 | |
1713 | void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, char *data) |
1718 | void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, char *data) |
1714 | |
1719 | |
1715 | void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border) |
1720 | void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border) |
1716 | |
1721 | |
1717 | void glRasterPos (int x, int y) |
1722 | void glDrawPixels (int width, int height, int format, int type, char *pixels) |
1718 | CODE: |
|
|
1719 | glRasterPos2i (x, y); |
|
|
1720 | |
1723 | |
1721 | void glCopyPixels (int x, int y, int width, int height, int type = GL_COLOR) |
1724 | void glCopyPixels (int x, int y, int width, int height, int type = GL_COLOR) |
1722 | |
1725 | |
1723 | int glGenTexture () |
1726 | int glGenTexture () |
1724 | CODE: |
1727 | CODE: |