15 lines
451 B
Python
15 lines
451 B
Python
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
|