示例#1
0
def scale(factor, center):
    return pyservoce.scale(factor, point3(center).to_servoce())
示例#2
0
def scale(factor, center):
    if factor is list or factor is tuple:
        return pyservoce.scaleXYZ(factor[0], factor[1], factor[2])
    return pyservoce.scale(factor, point3(center).to_servoce())