def add_circle(rad, sides, z, func=shapes.circle): self.meshes.add( Mesh(func(rad, sides), (0, 0, z), color=RGBA.random(0.5)))
def load_meshes_3(self): sides = next_randint(3, 12) self.meshes.add(Mesh(shapes.polygon(sides, 0.2), (0, 0, 3)))
def add_circle(rad, sides, z, func=shapes.circle): self.meshes.add( Mesh(func(rad, sides), (0, 0, z), color=RGBA.random(0.5)))
def load_meshes_3(self): sides = next_randint(3, 12) self.meshes.add(Mesh(shapes.polygon(sides, 0.2), (0, 0, 3)))