kitgit

tirbofish/dropbear · diff

9a516a7 · tk

attempted to make a plane (didn't work, will try later), created easier pathing with "ResourceReferences" (though i do need to improve performance).

Unverified

diff --git a/Cargo.toml b/Cargo.toml
index 6a59752..7b17222 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,6 +16,7 @@ bincode = { version = "2.0", features = ["serde"] }
 bytemuck = { version = "1.23", features = ["derive"] }
 chrono = "0.4"
 clap = "4.5"
+colored = "3.0"
 dropbear-engine = { path = "dropbear-engine" }
 egui = "0.32"
 egui-toast-fork = "0.18"
diff --git a/dropbear-engine/Cargo.toml b/dropbear-engine/Cargo.toml
index 925f12b..7ffd453 100644
--- a/dropbear-engine/Cargo.toml
+++ b/dropbear-engine/Cargo.toml
@@ -13,6 +13,7 @@ anyhow.workspace = true
 app_dirs2.workspace = true
 bytemuck.workspace = true
 chrono.workspace = true
+colored.workspace = true
 egui_wgpu_backend.workspace = true
 egui_winit_platform.workspace = true
 egui.workspace = true
@@ -30,6 +31,8 @@ spin_sleep.workspace = true
 wgpu.workspace = true
 winit.workspace = true
 hecs.workspace = true
+once_cell.workspace = true
+parking_lot.workspace = true
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
diff --git a/dropbear-engine/src/entity.rs b/dropbear-engine/src/entity.rs
index 41422b1..b0c481b 100644
--- a/dropbear-engine/src/entity.rs
+++ b/dropbear-engine/src/entity.rs
@@ -1,13 +1,15 @@
+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 nalgebra::{Matrix4, UnitQuaternion, Vector3};
 use wgpu::{util::DeviceExt, BindGroup, Buffer};
 
 use crate::{
     graphics::{Graphics, Instance}, model::Model

Large diffs are not rendered by default. Showing the first 50 of 774 lines. Show full diff