diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-27 15:26:00 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-27 15:26:00 +0100 |
commit | c121d94f0b27bc04ffbdca55cd0939c1401d5a2e (patch) | |
tree | 67ac9da1f994c24b9a3e8e8d2adc2e334d2e34a5 /client/src/camera.rs | |
parent | 6b5c44d58e6c6d3df360396a0897290fc603699b (diff) | |
download | weareserver-c121d94f0b27bc04ffbdca55cd0939c1401d5a2e.tar weareserver-c121d94f0b27bc04ffbdca55cd0939c1401d5a2e.tar.bz2 weareserver-c121d94f0b27bc04ffbdca55cd0939c1401d5a2e.tar.zst |
clippy: fixes and ignores
Diffstat (limited to 'client/src/camera.rs')
-rw-r--r-- | client/src/camera.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/camera.rs b/client/src/camera.rs index bd86e79..ea984b3 100644 --- a/client/src/camera.rs +++ b/client/src/camera.rs @@ -23,6 +23,12 @@ pub struct Camera { pub aspect: f32, } +impl Default for Camera { + fn default() -> Self { + Self::new() + } +} + impl Camera { pub fn new() -> Self { Self { |