ó
    š3j2  ã                   ó`   • 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 SGIX.fog_offset

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

Overview (from the spec)
        
        This extension allows fragments to look brighter in a foggy
        environment, by biasing the fragment eye-coordinate distance prior
        to fog computation. A reference point in eye space (rx ry rz) and an offset
        amount toward the viewpoint (f_o) are specified. When fog offset is
        enabled, the offset amount will be subtracted from the fragment
        distance, making objects appear less foggy.
        
        If fog computation is done in screen-space coordinates under
        perspective projection, the reference point is used in adjusting the
        fog offset to be correct for fragments whose depth is close to that
        point. The reference point should be redefined when it becomes too
        far away from the primitives being drawn. Under orthographic
        projection, or if fog computation is done in eye-space coordinates,
        the reference point is ignored.

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