File: window_pos.py

package info (click to toggle)
pyopengl 3.0.0~b6-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,696 kB
  • ctags: 26,182
  • sloc: python: 34,233; ansic: 70; sh: 26; makefile: 15
file content (60 lines) | stat: -rw-r--r-- 1,194 bytes parent folder | download
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
50
51
52
53
54
55
56
57
58
59
60
'''OpenGL extension ARB.window_pos

This module customises the behaviour of the 
OpenGL.raw.GL.ARB.window_pos to provide a more 
Python-friendly API
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions, wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.GL.ARB.window_pos import *
### END AUTOGENERATED SECTION
glWindowPos2dvARB = arrays.setInputArraySizeType(
	glWindowPos2dvARB,
	2,
	arrays.GLdoubleArray,
	'v',
)
glWindowPos2fvARB = arrays.setInputArraySizeType(
	glWindowPos2fvARB,
	2,
	arrays.GLfloatArray,
	'v',
)
glWindowPos2ivARB = arrays.setInputArraySizeType(
	glWindowPos2ivARB,
	2,
	arrays.GLintArray,
	'v',
)
glWindowPos2svARB = arrays.setInputArraySizeType(
	glWindowPos2svARB,
	2,
	arrays.GLshortArray,
	'v',
)
glWindowPos3dvARB = arrays.setInputArraySizeType(
	glWindowPos3dvARB,
	3,
	arrays.GLdoubleArray,
	'v',
)
glWindowPos3fvARB = arrays.setInputArraySizeType(
	glWindowPos3fvARB,
	3,
	arrays.GLfloatArray,
	'v',
)
glWindowPos3ivARB = arrays.setInputArraySizeType(
	glWindowPos3ivARB,
	3,
	arrays.GLintArray,
	'v',
)
glWindowPos3svARB = arrays.setInputArraySizeType(
	glWindowPos3svARB,
	3,
	arrays.GLshortArray,
	'v',
)