diff --git a/src/aabb.rs b/src/aabb.rs index 856d98c..e913365 100644 --- a/src/aabb.rs +++ b/src/aabb.rs @@ -1,7 +1,4 @@ -use std::ops::Sub; - -use cgmath::{Point3, Vector3}; -use itertools::Itertools; +use cgmath::Point3; type T = f32; diff --git a/src/camera.rs b/src/camera.rs index 6b3573e..7d48629 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -1,7 +1,5 @@ use cgmath::{Matrix4, Point3, Rad, Vector3}; -use crate::aabb::Aabb; - #[rustfmt::skip] pub const OPENGL_TO_WGPU_MATRIX: Matrix4 = Matrix4::new( 1.0, 0.0, 0.0, 0.0, diff --git a/src/state/world_state.rs b/src/state/world_state.rs index 77a7f69..3b6d346 100644 --- a/src/state/world_state.rs +++ b/src/state/world_state.rs @@ -1,6 +1,6 @@ use std::time::Duration; -use cgmath::{ElementWise, InnerSpace, Point3, Rad, Vector3}; +use cgmath::{InnerSpace, Point3, Rad, Vector3}; use wgpu::{ util::{BufferInitDescriptor, DeviceExt}, CommandEncoder, SwapChainTexture,