summaryrefslogtreecommitdiff
path: root/gfx/camera.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-07 00:11:07 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-11 01:13:59 +0000
commitc310240881e9d1b474db6ef8f8f2891ce1646795 (patch)
tree4529b28457ef805015242f4579299cc39240ddde /gfx/camera.h
parentCreate AxisAlignedBoundingBox (diff)
downloadilt-c310240881e9d1b474db6ef8f8f2891ce1646795.tar.bz2
ilt-c310240881e9d1b474db6ef8f8f2891ce1646795.tar.xz
ilt-c310240881e9d1b474db6ef8f8f2891ce1646795.zip
Position is moved to Frustum
Diffstat (limited to 'gfx/camera.h')
-rw-r--r--gfx/camera.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gfx/camera.h b/gfx/camera.h
index a52ec8b..d1bfc82 100644
--- a/gfx/camera.h
+++ b/gfx/camera.h
@@ -59,12 +59,6 @@ public:
return forward;
}
- [[nodiscard]] auto
- getPosition() const
- {
- return position;
- }
-
[[nodiscard]] std::array<GlobalPosition4D, 4> extentsAtDist(GlobalDistance) const;
[[nodiscard]] static Direction3D upFromForward(const Direction3D & forward);
@@ -74,7 +68,6 @@ private:
const glm::mat4 & projection);
void updateView();
- GlobalPosition3D position;
Direction3D forward;
Direction3D up;
GlobalDistance near, far;