summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-28 23:29:37 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-28 23:29:37 +0000
commitdd236a39906de5855fdd1252b17a7337f0c7b052 (patch)
treedbd19e1a278feca0f7e00409aab2cc9d2125a51a /application
parentGlobal definition of quarter_pi (diff)
downloadilt-dd236a39906de5855fdd1252b17a7337f0c7b052.tar.bz2
ilt-dd236a39906de5855fdd1252b17a7337f0c7b052.tar.xz
ilt-dd236a39906de5855fdd1252b17a7337f0c7b052.zip
Vastly improved manual camera controller
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp
index 2f37c59..8257a79 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -98,7 +98,8 @@ public:
const auto framelen = std::chrono::milliseconds {1000} / 120;
inputStack.objects.push_back(shared_from_this());
- inputStack.objects.insert(inputStack.objects.begin(), world.create<ManualCameraController>());
+ inputStack.objects.insert(
+ inputStack.objects.begin(), world.create<ManualCameraController>(glm::vec2 {-1150, -1150}));
while (isRunning) {
processInputs();