tirbofish/dropbear · diff
100 utah teapots with 30 fps, not good. todo: optimise code. jarvis, run github actions
Signature present but could not be verified.
Unverified
@@ -31,6 +31,7 @@ gilrs = "0.11" git2 = "0.20" glam = { version = "0.30", features = ["serde"] } hecs = { version = "0.10", features = ["serde"] } +lazy_static = "1.5" log = "0.4" log-once = "0.4" model_to_image = "0.1.1" @@ -33,6 +33,7 @@ winit.workspace = true hecs.workspace = true once_cell.workspace = true parking_lot.workspace = true +lazy_static.workspace = true [target.'cfg(not(target_os = "android"))'.dependencies] rfd.workspace = true @@ -1,15 +1,11 @@ -use std::collections::HashMap; use std::path::PathBuf; use glam::{DMat4, DQuat, DVec3, Mat4}; -use once_cell::sync::Lazy; -use parking_lot::RwLock; use serde::{Deserialize, Serialize}; use wgpu::{util::DeviceExt, BindGroup, Buffer}; use crate::{ graphics::{Graphics, Instance}, model::Model }; -use crate::model::Mesh; #[derive(Debug, Clone, Deserialize, Serialize, Copy, PartialEq)] pub struct Transform { @@ -61,10 +57,7 @@ impl Transform { #[derive(Default)] pub struct AdoptedEntity { pub model: Option<Model>, - pub uniform: ModelUniform, - pub uniform_buffer: Option<Buffer>,
Large diffs are not rendered by default. Showing the first 50 of 521 lines. Show full diff