ó
    š3j:  ã                   óp  • 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g)a  OpenGL extension ARB.transpose_matrix

This module customises the behaviour of the 
OpenGL.raw.GL.ARB.transpose_matrix to provide a more 
Python-friendly API

Overview (from the spec)
        
        New functions and tokens are added allowing application matrices
        stored in row major order rather than column major order to be
        transferred to the OpenGL implementation.  This allows an application
        to use standard C-language 2-dimensional arrays (m[row][col]) and
        have the array indices match the expected matrix row and column indexes.
        These arrays are referred to as transpose matrices since they are
        the transpose of the standard matrices passed to OpenGL.
        
        This extension adds an interface for transfering data to and from the
        OpenGL pipeline, it does not change any OpenGL processing or imply any
        changes in state representation.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/transpose_matrix.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    ÚX/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/transpose_matrix.pyÚglInitTransposeMatrixARBr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úmé   )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú"OpenGL.raw.GL.ARB.transpose_matrixr   r   ÚglLoadTransposeMatrixfARBÚsetInputArraySizeÚglLoadTransposeMatrixdARBÚglMultTransposeMatrixfARBÚglMultTransposeMatrixdARB© r   r   Ú<module>r      s®   ðñ÷. .Ñ -ß &Û ß )Ü 0Ý >ò8ð
 "Ÿ/š/Ð*CÓD×VÑVØˆóÐ ð "Ÿ/š/Ð*CÓD×VÑVØˆóÐ ð "Ÿ/š/Ð*CÓD×VÑVØˆóÐ ð "Ÿ/š/Ð*CÓD×VÑVØˆóÑ r   