ó
    š3j-	  ã                   ó€  • S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S r\R                  " \5      R                  S	S
5      r\R                  " \5      R                  S	S
5      r\R                  " \5      R                  S	S
5      r\R                  " \5      R                  S	S
5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      rg)a/  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

Overview (from the spec)
        
        In order to set the current raster position to a specific window
        coordinate with the RasterPos command, the modelview matrix, projection
        matrix and viewport must be set very carefully.  Furthermore, if the
        desired window coordinate is outside of the window's bounds one must rely
        on a subtle side-effect of the Bitmap command in order to avoid frustum
        clipping.
        
        This extension provides a set of functions to directly set the current
        raster position in window coordinates, bypassing the modelview matrix, the
        projection matrix and the viewport-to-window mapping.  Furthermore, clip
        testing is not performed, so that the current raster position is always
        valid.
        
        This greatly simplifies the process of setting the current raster position
        to a specific window coordinate prior to calling DrawPixels, CopyPixels or
        Bitmap.  Many matrix operations can be avoided when mixing 2D and 3D
        rendering.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/window_pos.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  ó:   • SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ÚhasGLExtensionr   r   s    ÚR/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/window_pos.pyÚglInitWindowPosARBr   %   s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úvé   é   )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   ÚOpenGL.raw.GL.ARB.window_posr   r   ÚglWindowPos2dvARBÚsetInputArraySizeÚglWindowPos2fvARBÚglWindowPos2ivARBÚglWindowPos2svARBÚglWindowPos3dvARBÚglWindowPos3fvARBÚglWindowPos3ivARBÚglWindowPos3svARB© r   r   Ú<module>r$      s6  ðñ÷: .Ñ -ß &Û ß )Ü *Ý 8ò8ð
 —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÐ ð —/’/Ð"3Ó4×FÑFØˆóÑ r   