
    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
SS9R                  SS
SS9rg)a  OpenGL extension OES.query_matrix

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

Overview (from the spec)
        
        Many applications may need to query the contents and status of the
        current matrix at least for debugging purposes, especially as the
        implementations are allowed to implement matrix machinery either in
        any (possibly proprietary) floating point format, or in a fixed point
        format that has the range and accuracy of at least 16.16 (signed 16 bit
        integer part, unsigned 16 bit fractional part).
        
        This extension is intended to allow application to query the components
        of the matrix and also their status, regardless whether the internal
        representation is in fixed point or floating point.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/query_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    T/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/OES/query_matrix.pyglInitQueryMatrixOESr      s    !$$o77    exponent)   T)sizeorPassInmantissa)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   OpenGL.raw.GL.OES.query_matrixr   r   glQueryMatrixxOES	setOutput r   r   <module>r      sg   , . - &  ) , :8
 //"34>>E4 ? )E4   r   