def matrixToFloatList(matrix):
    """ convert MMatrix to a list of 16 floats

    :param matrix: OpenMaya MMatrix to convert
    :type matrix: MMAtrix
    :return: list of 16 floats gathered from a matrix
    :rtype: list
    """
    return [matrix[i] for i in range(16)]