- fixed setting of 'GL_FRONT_AND_BACK' mode - fixed setting of 'GL_SPOT_DIRECTION' angle - optimization of drawing triangles and lines - fixes in 'gluCylinder' and 'gluSphere' functions - 'gluDisk' function added - optimize function 'calc_buf' - clean code Flag: add lighting info3ds, info3ds_u, test_glu0, test_glu1, test_glu2, textures0, textures1, textures2: - updated programs using 'gluCylinder' and 'gluSphere'
16 lines
269 B
PHP
16 lines
269 B
PHP
;Macro for double type parameters (8 bytes)
|
|
macro glpush GLDoubleVar {
|
|
push dword[GLDoubleVar+4]
|
|
push dword[GLDoubleVar]
|
|
}
|
|
|
|
struct TinyGLContext
|
|
gl_context dd ?
|
|
xsize dd ? ;+4
|
|
ysize dd ? ;+8
|
|
d_x dd ? ;+12
|
|
d_y dd ? ;+16
|
|
x dd ? ;+20
|
|
y dd ? ;+24
|
|
ends
|