Поддержка OpenGL |
typedef float | vec4f [4] |
const vec4f | TX_GL_BLACK = {0, 0, 0, 1} |
const vec4f | TX_GL_RED = {1, 0, 0, 1} |
const vec4f | TX_GL_GREEN = {0, 1, 0, 1} |
const vec4f | TX_GL_BLUE = {0, 0.25, 1, 1} |
const vec4f | TX_GL_WHITE = {1, 1, 1, 1} |
HGLRC | txglCreateContext (HDC dc) |
bool | txglDeleteContext (HGLRC rc) |
bool | txglSetDefaults () |
void | txglSwapBuffers () |
void | txglClear (double red, double green, double blue, double alpha=0) |
void | txgluSphere (double radius, int slices=100, int stacks=100) |
void | txgluDisk (double innerRadius, double outerRadius, int slices=100, int loops=100) |
void | txgluCylinder (double baseRadius, double topRadius, double height, int slices=100, int stacks=100) |
void | txglTextOut (double x, double y, const char *text) |
bool | txglLight (int light, double x, double y, double z, double ambient, double diffuse, double specular) |
bool | txglMaterial (double specular, double emittance, double shining) |
bool | txglSetCamera (POINT size, bool perspective=true) |
void | DrawBackgr (int mode) |
void | DrawModel (double rotation) |
int | main () |
TXLib OpenGL Demo.
А вы как думали?
Библиотека Тупого Художника (The Dumb Artist Library, TX Library, TXLib).
- Version:
- 00173a, Revision: 173
- Date:
- 2025-05-25 01:25:31 +0400
- Copyright:
- (C) Ded (Ilya Dedinsky, http://txlib.ru) <mail@txlib.ru>
См. определение в файле TXGL.cpp