Exemplo n.º 1
0
def Scale(shape, sx, sy, sz, align=True):
    T = v.scale_matrix(sx, sy, sz)
    SHAPE = Transform(shape, T)
    if align:
        SHAPE = Round(SHAPE)
    return SHAPE
def Scale(shape, s):
    T = vec.scale_matrix(s, s, s)
    SHAPE = Transform(shape, T)
    return SHAPE
Exemplo n.º 3
0
def s2S(s):
    S = vectors.scale_matrix(t[0], t[1], t[2])
    return S