(location, ndim)
Specify the type of the attribute before rendering.
Specify the type of the attribute before rendering.
Specify the type of the attribute before rendering .
def set_attribute(location, ndim):
        """Specify the type of the attribute before rendering."""
        gl.glVertexAttribPointer(location, ndim, gl.GL_FLOAT, gl.GL_FALSE, 0, None)
def set_attribute ( location , ndim ) : gl . glVertexAttribPointer ( location , ndim , gl . GL_FLOAT , gl . GL_FALSE , 0 , None )