diff options
Diffstat (limited to 'gfx/camera.cpp')
| -rw-r--r-- | gfx/camera.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/camera.cpp b/gfx/camera.cpp index db748e9..4d46810 100644 --- a/gfx/camera.cpp +++ b/gfx/camera.cpp @@ -23,6 +23,12 @@ Camera::setAspect(Angle aspect) Frustum::updateCache(); } +Angle +Camera::getAspect() const +{ + return aspect; +} + Ray<GlobalPosition3D> Camera::unProject(const ScreenRelCoord & mouse) const { |
