corrected unit navigation

minor refactoring
This commit is contained in:
devZoGok
2022-09-18 10:27:26 +03:00
parent 5ac2f28479
commit 8b5c492ff2
3 changed files with 13 additions and 9 deletions
+4
View File
@@ -139,6 +139,10 @@ namespace battleship{
Camera *cam = root->getCamera();
cam->setPosition(Vector3(1, 1, 1) * 40);
cam->lookAt(Vector3(-1, -1, -1).norm(), Vector3(-1, 1, -1).norm());
//TODO replace hardcoded values
size = Vector3(100, 33, 100);
bottom = 33;
}
void Map::unload() {}