
    _e                        d Z ddlmZ ddlmZ ddlmZm	Z	  G d de
      ZddZ eej                        Z eej                  dd	d
      Z eej                  dd	d
      Z eej                         Z eej"                        Z e eej$                        dd	d
      Z e eej&                        dd	d
      Z e eej(                        dd	d
      Zy)z1GLE exceptional functions (specialised signatures    )GLE)annotations)wrapperarraysc                   :    e Zd ZdZej
                  fdZd Zd Zy)_lengthOfArgnamez=Calculates the length of a given argname over a divisor valuec                 .    || _         || _        || _        y N)	arrayNamedivisor	arrayType)selfr   r   r   s       8/usr/lib/python3/dist-packages/OpenGL/GLE/exceptional.py__init__z_lengthOfArgname.__init__	   s    ""    c                 F     |j                   | j                        | _        y r
   )
pyArgIndexr   
arrayIndex)r   r   s     r   finalisez_lengthOfArgname.finalise   s    ,',,dnn>r   c                 l    | j                   j                  || j                           | j                  z  S )z,Get the length of pyArgs[2], a glDoubleArray)r   	arraySizer   r   )r   pyArgsindexwrappedOperations       r   __call__z_lengthOfArgname.__call__   s)    ~~'')@BDLLPPr   N)	__name__
__module____qualname____doc__r   GLdoubleArrayr   r   r    r   r   r   r      s    G8>8L8L #?Qr   r   c                     t        j                   |       j                  |      j                  |t        ||t        j
                              S )z2Do the basic wrapping operation for a GLE function)r   setPyConvertersetCConverterr   r   r    )base
lengthNamecontourNamer   s       r   	_baseWrapr(      s@    ??D"11m$k7F<P<PRr   npointspoint_array   N)ncpcontour   )r   
OpenGL.rawr   rawOpenGL.raw.GLEr   _simpleOpenGLr   r   objectr   r(   gleLatheglePolyConeglePolyCylindergleScrew	gleSpiralgleExtrusiongleSuperExtrusiongleTwistExtrusionr!   r   r   <module>r=      s    7 ! 1 "
Q 
Q g&&(,,iJW44iPQRg&&(w((*	w##%}a w((*}a  w((*}a r   