TIny cleanup
This commit is contained in:
@ -11,7 +11,6 @@ using namespace Dawn;
|
||||
TicTacToeGame::TicTacToeGame(SceneItem *item) : SceneItemComponent(item) {}
|
||||
|
||||
void TicTacToeGame::onStart() {
|
||||
std::cout << "Test" << std::endl;
|
||||
this->tiles = getScene()->findComponents<TicTacToeTile>();
|
||||
|
||||
getScene()->eventSceneUpdate.addListener(this, &TicTacToeGame::onSceneUpdate);
|
||||
|
@ -29,7 +29,7 @@ namespace Dawn {
|
||||
camera->orthoLeft = -s * ratio;
|
||||
camera->orthoRight = s * ratio;
|
||||
|
||||
// auto cube = SimpleSpinningCubePrefab::create(this);
|
||||
auto cube = SimpleSpinningCubePrefab::create(this);
|
||||
// TriangleMesh::createTriangleMesh(&cube->meshHost->mesh);
|
||||
// SphereMesh::createSphere(&cube->meshHost->mesh, 1.0f, 16, 16);
|
||||
|
||||
@ -44,12 +44,6 @@ namespace Dawn {
|
||||
// tile->ticTacToe->setState(i % 2 == 0 ? TIC_TAC_TOE_CROSS : TIC_TAC_TOE_NOUGHT);
|
||||
}
|
||||
}
|
||||
|
||||
this->debugCube((struct SceneDebugCube){
|
||||
.min = glm::vec3(-0.5f, -0.5f, -0.5f),
|
||||
.max = glm::vec3(0.5f, 0.5f, 0.5f),
|
||||
COLOR_BLUE
|
||||
});
|
||||
}
|
||||
|
||||
std::vector<Asset*> getRequiredAssets() override {
|
||||
|
Reference in New Issue
Block a user