def METHOD_NAME(vector, a,b,c):
    if vector[0] > a/2.0: vector[0] -= a
    if vector[0] < -a/2.0: vector[0] += a
    if vector[1] > b/2.0: vector[1] -= b
    if vector[1] < -b/2.0: vector[1] += b
    if vector[2] > c/2.0: vector[2] -= c
    if vector[2] < -c/2.0: vector[2] += c
    return