little fix

This commit is contained in:
HENRY Benjamin
2021-05-31 17:35:42 +02:00
parent 38cbfa022e
commit dd0d1e6fa2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ namespace BBM
.addComponent<PositionComponent>()
.addComponent<Drawable3DComponent<RAY3D::Model>>("assets/player/player.iqm", std::make_pair(MAP_DIFFUSE, "assets/player/blue.png"));
scene->addEntity("camera")
.addComponent<PositionComponent>(10, 10, 10)
.addComponent<PositionComponent>(25, 25, 25)
.addComponent<CameraComponent>();
Map::generateMap(15, 15, rand(), scene);
return scene;