a
    i‚jT  ã                   @   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e e¡ d
d¡Ze e¡ d
d¡ZdS )aº  OpenGL extension SGIX.polynomial_ffd

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

Overview (from the spec)
	
	This extension adds the capability to alter vertex coordinates,  the
	corresponding normal coordinates, and texture coordinates based on a
	client-specified trivariate polynomial functions.  These functions may be
	thought of as a warping of object/texture space (or, alternatively, as a
	warping of the object embedded in object/texture space).
	
	Deformations of space are used for a variety of modeling effects, including
	character animation.  The deformation specified in this extension is one of
	a variety of mappings that have been proposed.
	
	Only 3D to 3D deformation are considered.   We shall not consider
	homogeneous deformations.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIX/polynomial_ffd.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/polynomial_ffd.pyÚglInitPolynomialFfdSGIX    s    r   Zpoints)Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z!OpenGL.raw.GL.SGIX.polynomial_ffdr
   r   ZglDeformationMap3dSGIXZsetInputArraySizeZglDeformationMap3fSGIXr   r   r   r   Ú<module>   s   
ÿ
ÿ