a
    i‚j®  ã                   @   s`   d Z ddlmZmZmZ ddlmZmZ ddlZddlm	Z	m
Z
 ddlT ddlmZ dd	„ ZdS )
aË  OpenGL extension SGIX.shadow_ambient

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

Overview (from the spec)
	
	This extension allows a value other than 0.0 to be returned by the
	SGIX_shadow operation in the case when the shadow test passes.
	With this extension any floating point value in the range [0.0,
	1.0] can be returned as the texture value when an object is in
	shadow.  This allows the (untextured) ambient lighting and direct
	shadowed lighting from a single light source to be computed in a
	single pass.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIX/shadow_ambient.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  C   s   ddl m}  |  t¡S )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ZhasGLExtensionr
   r   © r   ú[/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GL/SGIX/shadow_ambient.pyÚglInitShadowAmbientSGIX   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z!OpenGL.raw.GL.SGIX.shadow_ambientr
   r   r   r   r   r   Ú<module>   s   