Apply cargo clippy
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user