(array_type=c_float, glGetMethod=glGetFloatv)
return m
Returns the current modelview matrix.
Returns the current modelview matrix.
Returns the current modelview matrix .
def get_model_matrix(array_type=c_float, glGetMethod=glGetFloatv):
    """
    Returns the current modelview matrix.
    """
    m = (array_type*16)()
    glGetMethod(GL_MODELVIEW_MATRIX, m)
    return m
def get_model_matrix ( array_type = c_float , glGetMethod = glGetFloatv ) : m = ( array_type * 16 ) ( ) glGetMethod ( GL_MODELVIEW_MATRIX , m ) return m