ó
    š3jn  ã                   ó`   • 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g)	aÃ  OpenGL extension ARB.polygon_offset_clamp

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

Overview (from the spec)
        
        This extension adds a new parameter to the polygon offset function
        that clamps the calculated offset to a minimum or maximum value.
        The clamping functionality is useful when polygons are nearly
        parallel to the view direction because their high slopes can result
        in arbitrarily large polygon offsets. In the particular case of
        shadow mapping, the lack of clamping can produce the appearance of
        unwanted holes when the shadow casting polygons are offset beyond
        the shadow receiving polygons, and this problem can be alleviated by
        enforcing a maximum offset value.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/polygon_offset_clamp.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    Ú\/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/polygon_offset_clamp.pyÚglInitPolygonOffsetClampARBr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú&OpenGL.raw.GL.ARB.polygon_offset_clampr   r   © r   r   Ú<module>r      s&   ðñ÷* .Ñ -ß &Û ß )Ü 4Ý Bó8r   