Apply cargo clippy

This commit is contained in:
2022-10-23 03:50:07 +02:00
parent 9f64ebc0f9
commit b1710f7f71
3 changed files with 19 additions and 23 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ impl CameraState {
}
pub fn get_perspective(&self) -> [[f32; 4]; 4] {
let fov: f32 = 3.141592 / 2.0;
let fov: f32 = std::f32::consts::PI / 2.0;
let zfar = 53_209.0;
let znear = 1.0; //0.01;