(vertices, t)
Translate array of vertices by vector t.
Translate array of vertices by vector t.
Translate array of vertices by vector t .
def translate(vertices, t):
    """Translate array of vertices by vector t.
    """

    for i in xrange(len(vertices)):
        vertices[i][0] += t[0]
        vertices[i][1] += t[1]
        vertices[i][2] += t[2]
def translate ( vertices , t ) : for i in xrange ( len ( vertices ) ) : vertices [ i ] [ 0 ] += t [ 0 ] vertices [ i ] [ 1 ] += t [ 1 ] vertices [ i ] [ 2 ] += t [ 2 ]