diff --git a/src/state.rs b/src/state.rs index b74444f..13a8cfa 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1,12 +1,11 @@ use std::time::Instant; use noise::{Fbm, MultiFractal, NoiseFn, Perlin}; use rand::prelude::*; -use voronoice::{BoundingBox, Point, Voronoi, VoronoiBuilder, VoronoiCell}; -use winit::{event::{DeviceEvent, ElementState, Event, MouseButton, MouseScrollDelta, WindowEvent}, window::Window}; +use voronoice::{BoundingBox, Point, Voronoi, VoronoiBuilder}; +use winit::{event::{DeviceEvent, Event, MouseButton, MouseScrollDelta, WindowEvent}, window::Window}; use crate::graphics::{Uniforms, Vertex}; -const SQRT_3: f32 = 1.732050807568877293527446341505872367; const FRAMERATE: usize = 10; // Update per second #[repr(u8)]