Exemplo n.º 1
0
def gen_random_shapes(n):
    for x in range(n):
        i = random.randint(0, 2)
        if i == 0:
            ren.random_sphere()
        elif i == 1:
            ren.random_plane()
        else:
            ren.random_triangle()
Exemplo n.º 2
0
def gen_random_shapes(n):
    for x in range(n):
        i = random.randint(0, 2)
        if i == 0:
            ren.random_sphere()
        elif i == 1:
            ren.random_plane()
        else:
            ren.random_triangle()
Exemplo n.º 3
0
def random_planes(n):
    for x in range(n):
        ren.random_plane()
Exemplo n.º 4
0
def random_planes(n):
    for x in range(n):
        ren.random_plane()