File: __init__.py

package info (click to toggle)
pyopengl 3.1.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,668 kB
  • sloc: python: 108,024; makefile: 4
file content (49 lines) | stat: -rw-r--r-- 1,497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
"""OpenGL.GL, the core GL library and extensions to it"""
# early import of our modules to prevent import loops...
from OpenGL import error as _error
from OpenGL.GL.VERSION.GL_1_1 import *
from OpenGL.GL.pointers import *
from OpenGL.GL.images import *

from OpenGL.GL.exceptional import *

from OpenGL.GL.glget import *

from OpenGL.GL.VERSION.GL_1_2 import *
from OpenGL.GL.VERSION.GL_1_3 import *
from OpenGL.GL.VERSION.GL_1_4 import *
from OpenGL.GL.VERSION.GL_1_5 import *
from OpenGL.GL.VERSION.GL_2_0 import *
from OpenGL.GL.VERSION.GL_2_1 import *
from OpenGL.GL.VERSION.GL_3_0 import *
from OpenGL.GL.VERSION.GL_3_1 import *
from OpenGL.GL.VERSION.GL_3_2 import *
from OpenGL.GL.VERSION.GL_3_3 import *
from OpenGL.GL.VERSION.GL_4_0 import *
from OpenGL.GL.VERSION.GL_4_1 import *
from OpenGL.GL.VERSION.GL_4_2 import *
from OpenGL.GL.VERSION.GL_4_3 import *
from OpenGL.GL.VERSION.GL_4_4 import *
from OpenGL.GL.VERSION.GL_4_5 import *
from OpenGL.GL.VERSION.GL_4_6 import *

from OpenGL.error import *
GLerror = GLError

# Now the aliases...
glRotate = glRotated
glTranslate = glTranslated
glLight = glLightfv
glTexCoord = glTexCoord2d
glScale = glScaled
#glColor = glColor3f
glNormal = glNormal3d

glGetBoolean = glGetBooleanv
glGetDouble = glGetDoublev
glGetFloat = glGetFloatv
glGetInteger = glGetIntegerv 
glGetPolygonStippleub = glGetPolygonStipple

from OpenGL.GL import vboimplementation as _core_implementation
from OpenGL.GL.ARB import vboimplementation as _arb_implementation