cube dir and project layout
This commit is contained in:
1 parent
ac31a7a432
commit
baac41f088
8 files changed
+121
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user