Fix 3d bresenham

This commit is contained in:
2024-06-12 20:49:20 +02:00
parent 7ad9b45f6c
commit bbdd59ca9b
4 changed files with 77 additions and 49 deletions

View File

@@ -8,6 +8,7 @@ class Point3D:
self.x = x
self.y = y
self.z = z
self.coordinate = (x, y, z)
def copy(self):
return Point3D(self.x, self.y, self.z)