def PoolVec3Array_to_list(array):
    """Return a copy of the array as a list of 3-element lists of floats.
    This is not efficient."""
    result = []
    for elt in array:
        v3 = [elt.x, elt.y, elt.z]
        result.append(v3)
    return result