diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-02 21:07:37 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-02 21:07:37 +0000 |
commit | 7c8b8a39fd36e190578587d8d92f28f460a1fc4b (patch) | |
tree | 03c0943bcec657992aa92afb91a3613eb1c8423b /ui/gameMainWindow.cpp | |
parent | No need to pass GameState around, it has a global pointer (diff) | |
download | ilt-7c8b8a39fd36e190578587d8d92f28f460a1fc4b.tar.bz2 ilt-7c8b8a39fd36e190578587d8d92f28f460a1fc4b.tar.xz ilt-7c8b8a39fd36e190578587d8d92f28f460a1fc4b.zip |
Encapsulate Ray
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r-- | ui/gameMainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index b904388..41bbb39 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -52,7 +52,7 @@ public: float eh; std::ignore = gameState->world.applyOne<Selectable>( - &Selectable::intersectRay, camera->pos, camera->unProject(mouse), &baryPos, &eh); + &Selectable::intersectRay, camera->unProject(mouse), &baryPos, &eh); } } return false; |