pip install quads python from quads import Quad vertices = [(0, 0), (5, 0), (5, 5), (0, 5)] quad = Quad(vertices) python from quads import Quad vertices = [(0, 0), (5, 0), (5, 5), (0, 5)] quad = Quad(vertices) quad.color = "red" quad.name = "MyQuad" python from quads import Quad, Renderer vertices = [(0, 0), (5, 0), (5, 5), (0, 5)] quad = Quad(vertices) renderer = Renderer() renderer.add_quad(quad) renderer.display()


上一篇:
下一篇:
切换中文