Using TheOneLoneCoder's 'Code-It-Yourself! 3D Graphics Engine Part #1' video as a reference, I ported some of his code to create the first step in this engine, perspective.

This commit is contained in:
2020-07-13 14:04:41 -05:00
parent 6f25f9e0d8
commit 5f83619244
2 changed files with 129 additions and 2 deletions
+2
View File
@@ -8,6 +8,8 @@ class Window:
self.canvas.pack()
self.width = width
self.height = height
self.theta = 1
self.triangles = []
def show(self):
self.window.mainloop()