cube dir and project layout

This commit is contained in:
hoffmeisterda104361 committed 2026-11-02 16:01:17 +01:00
1 parent ac31a7a432
commit baac41f088
8 files changed
+121 -4

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from cube.game.compute import rot_3d, Matrix
from cube.game.game import Game
class CubeGame(Game):
def __init__(self):
super().__init__("Cube Game")
self.centre = [0,0,0]
self.corners = [[-1.0,-1.0,-1.0], [1.0,-1.0,-1.0], [1.0,1.0,-1.0], [-1.0,1.0,-1.0],
[-1.0,-1.0,1.0], [1.0,-1.0,1.0], [1.0,1.0,1.0], [-1.0,1.0,1.0]]
def update_game(self):
pass
def draw_game(self):
pass