diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-04-07 19:38:18 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-04-07 19:38:18 +0100 |
commit | 97d4db588bfc4254e09e4305fb0525a04748f84e (patch) | |
tree | 049049622e338b3ad72d9b1639a51b65250caeba /ui/gameMainWindow.cpp | |
parent | Create water squares/polygons only where required (diff) | |
download | ilt-97d4db588bfc4254e09e4305fb0525a04748f84e.tar.bz2 ilt-97d4db588bfc4254e09e4305fb0525a04748f84e.tar.xz ilt-97d4db588bfc4254e09e4305fb0525a04748f84e.zip |
Stripped down water vertex and simplified shaders
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r-- | ui/gameMainWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index d71c74a..ccbcdba 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -15,7 +15,6 @@ #include <glad/gl.h> #include <glm/glm.hpp> #include <memory> -#include <utility> class GameMainToolbar : Mode<decltype(GameMainSelector::target)>, public Toolbar { public: @@ -31,7 +30,7 @@ public: GameMainWindow::GameMainWindow(size_t w, size_t h) : Window {w, h, "I Like Trains", SDL_WINDOW_OPENGL}, SceneRenderer {Window::size, 0} { - uiComponents.create<ManualCameraController>(glm::vec2 {315'000'000, 495'000'000}); + uiComponents.create<ManualCameraController>(glm::vec2 {310'727'624, 494'018'810}); auto gms = uiComponents.create<GameMainSelector>(&camera, ScreenAbsCoord {w, h}); uiComponents.create<GameMainToolbar>(gms.get()); } |