Skip to content

Commit

Permalink
Remove std::f32 imports. Closes KernelFreeze#23
Browse files Browse the repository at this point in the history
  • Loading branch information
iceiix committed Dec 28, 2020
1 parent 1c931e3 commit 22283d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/camera/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

use cgmath::prelude::*;
use cgmath::{ortho, perspective, Deg, Euler, Matrix4, Point3, Quaternion, Vector3};
use std::f32;

const YAW: f32 = -90.0;
const PITCH: f32 = 0.0;
Expand Down Expand Up @@ -106,8 +105,6 @@ impl Camera {

/// Get perspective matrix
pub fn perspective(&self) -> Matrix4<f32> {
use std::f32;

let zfar = 1024.0;
let znear = 1.0;

Expand Down

0 comments on commit 22283d7

Please sign in to comment.