home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / lib / site-packages / OpenGL / GL / ARB / window_pos.py < prev   
Encoding:
Python Source  |  2008-12-07  |  1.2 KB  |  61 lines

  1. '''OpenGL extension ARB.window_pos
  2.  
  3. This module customises the behaviour of the 
  4. OpenGL.raw.GL.ARB.window_pos to provide a more 
  5. Python-friendly API
  6. '''
  7. from OpenGL import platform, constants, constant, arrays
  8. from OpenGL import extensions, wrapper
  9. from OpenGL.GL import glget
  10. import ctypes
  11. from OpenGL.raw.GL.ARB.window_pos import *
  12. ### END AUTOGENERATED SECTION
  13. glWindowPos2dvARB = arrays.setInputArraySizeType(
  14.     glWindowPos2dvARB,
  15.     2,
  16.     arrays.GLdoubleArray,
  17.     'v',
  18. )
  19. glWindowPos2fvARB = arrays.setInputArraySizeType(
  20.     glWindowPos2fvARB,
  21.     2,
  22.     arrays.GLfloatArray,
  23.     'v',
  24. )
  25. glWindowPos2ivARB = arrays.setInputArraySizeType(
  26.     glWindowPos2ivARB,
  27.     2,
  28.     arrays.GLintArray,
  29.     'v',
  30. )
  31. glWindowPos2svARB = arrays.setInputArraySizeType(
  32.     glWindowPos2svARB,
  33.     2,
  34.     arrays.GLshortArray,
  35.     'v',
  36. )
  37. glWindowPos3dvARB = arrays.setInputArraySizeType(
  38.     glWindowPos3dvARB,
  39.     3,
  40.     arrays.GLdoubleArray,
  41.     'v',
  42. )
  43. glWindowPos3fvARB = arrays.setInputArraySizeType(
  44.     glWindowPos3fvARB,
  45.     3,
  46.     arrays.GLfloatArray,
  47.     'v',
  48. )
  49. glWindowPos3ivARB = arrays.setInputArraySizeType(
  50.     glWindowPos3ivARB,
  51.     3,
  52.     arrays.GLintArray,
  53.     'v',
  54. )
  55. glWindowPos3svARB = arrays.setInputArraySizeType(
  56.     glWindowPos3svARB,
  57.     3,
  58.     arrays.GLshortArray,
  59.     'v',
  60. )
  61.