summaryrefslogtreecommitdiff
path: root/gfx/camera.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-15 01:39:34 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-15 01:39:34 +0000
commit36d9808ed4f01d239eb8596eaf47a82e34a964d6 (patch)
treef65c518b6f104982d4d035b03b1cf2c045d2f932 /gfx/camera.h
parentFix class/struct mix-up friending test case (diff)
downloadilt-36d9808ed4f01d239eb8596eaf47a82e34a964d6.tar.bz2
ilt-36d9808ed4f01d239eb8596eaf47a82e34a964d6.tar.xz
ilt-36d9808ed4f01d239eb8596eaf47a82e34a964d6.zip
Expose Camera's aspect ratio
Diffstat (limited to 'gfx/camera.h')
-rw-r--r--gfx/camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/camera.h b/gfx/camera.h
index b78827a..1be012b 100644
--- a/gfx/camera.h
+++ b/gfx/camera.h
@@ -13,6 +13,7 @@ public:
[[nodiscard]] Ray<GlobalPosition3D> unProject(const ScreenRelCoord &) const;
void setAspect(Angle aspect);
+ Angle getAspect() const;
void
setPosition(const GlobalPosition3D & p)