diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-07 00:11:07 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-11 01:13:59 +0000 |
commit | c310240881e9d1b474db6ef8f8f2891ce1646795 (patch) | |
tree | 4529b28457ef805015242f4579299cc39240ddde /gfx/camera.cpp | |
parent | Create AxisAlignedBoundingBox (diff) | |
download | ilt-c310240881e9d1b474db6ef8f8f2891ce1646795.tar.bz2 ilt-c310240881e9d1b474db6ef8f8f2891ce1646795.tar.xz ilt-c310240881e9d1b474db6ef8f8f2891ce1646795.zip |
Position is moved to Frustum
Diffstat (limited to 'gfx/camera.cpp')
-rw-r--r-- | gfx/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/camera.cpp b/gfx/camera.cpp index cc6a2dd..f01054a 100644 --- a/gfx/camera.cpp +++ b/gfx/camera.cpp @@ -12,7 +12,7 @@ Camera::Camera(GlobalPosition3D pos, Angle fov, Angle aspect, GlobalDistance nea Camera::Camera(GlobalPosition3D pos, GlobalDistance near, GlobalDistance far, const glm::mat4 & view, const glm::mat4 & projection) : - Frustum {view, projection}, position {pos}, forward {::north}, up {::up}, near {near}, far {far} + Frustum {pos, view, projection}, forward {::north}, up {::up}, near {near}, far {far} { } |