ó
    š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.matrix_palette

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

Overview (from the spec)
        
        This extension extends the abilities of ARB_vertex_blend to include 
        a palette of modelview matrices.  The n vertex units use a palette
        of m modelview matrices.  (Where n and m are constrained to
        implementation defined maxima.)  Each vertex has a set of n
        indices into the palette, and a corresponding set of n weights.
        Matrix indices can be changed for each vertex (between Begin and
        End).  
        
        When this extension is utilized, the enabled units transform each
        vertex by the modelview matrices specified by the vertices'
        respective indices.  These results are subsequently scaled by the
        weights of the respective units and then summed to create the
        eyespace vertex.   
        
        A similar procedure is followed for normals.  Normals, however,
        are transformed by the inverse transpose of the modelview matrix.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/matrix_palette.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    ÚV/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/matrix_palette.pyÚglInitMatrixPaletteARBr   $   s   € å!Ø×$Ò$¤oÓ7Ð7ó    ÚindicesÚpointer)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú OpenGL.raw.GL.ARB.matrix_paletter   r   ÚglMatrixIndexubvARBÚsetInputArraySizeÚglMatrixIndexusvARBÚglMatrixIndexuivARBÚglMatrixIndexPointerARB© r   r   Ú<module>r      s®   ðñ÷8 .Ñ -ß &Û ß )Ü .Ý <ò8ð —O’OÐ$7Ó8×JÑJØˆtóÐ ð —O’OÐ$7Ó8×JÑJØˆtóÐ ð —O’OÐ$7Ó8×JÑJØˆtóÐ ð  ŸšÐ(?Ó@×RÑRØˆtóÑ r   