diff options
author | eug-vs <eugene@eug-vs.xyz> | 2024-05-20 01:17:13 +0200 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2024-05-20 01:17:13 +0200 |
commit | 1b6093a38a6ccf6d067740ee39476b6184fa8236 (patch) | |
tree | 1dc3df364fd3ba0225881cbacd1a4521f78e39ad /src/camera.rs | |
parent | 8e2e7bd7057925bb950d571dc0ac3e876ce32d54 (diff) | |
download | pistol-1b6093a38a6ccf6d067740ee39476b6184fa8236.tar.gz |
feat: adjust camera speed for better FPS
And other controls
Diffstat (limited to 'src/camera.rs')
-rw-r--r-- | src/camera.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/camera.rs b/src/camera.rs index 7682553..7768b2b 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -35,8 +35,8 @@ impl Camera { up: Vector::unit_z(), distance, screen: Screen { width, height }, - speed: 0.5, - turn_rate: 60.0, + speed: 0.15, + turn_rate: 90.0, } } pub fn get_screen_iterator(self) -> ScreenIterator { |