diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-28 23:29:37 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-28 23:29:37 +0000 |
commit | dd236a39906de5855fdd1252b17a7337f0c7b052 (patch) | |
tree | dbd19e1a278feca0f7e00409aab2cc9d2125a51a /application/main.cpp | |
parent | Global definition of quarter_pi (diff) | |
download | ilt-dd236a39906de5855fdd1252b17a7337f0c7b052.tar.bz2 ilt-dd236a39906de5855fdd1252b17a7337f0c7b052.tar.xz ilt-dd236a39906de5855fdd1252b17a7337f0c7b052.zip |
Vastly improved manual camera controller
Diffstat (limited to 'application/main.cpp')
-rw-r--r-- | application/main.cpp | 3 |
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(); |