This commit is contained in:
Arkitu 2024-08-26 19:50:25 +02:00
parent b0dcc83519
commit c46176ee3d

View File

@ -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)]