kitgit

tirbofish/dropbear · commit

42723a07486b7f05d3840e71f9cb0353261081f4

fix: egui kept on dragging/highlighting all of my characters (which was really frustrating). perf: improving performance and looks wip: outline shader for selection (as if selection worked in the first place LMAOOOO) refactor: removed old ColliderWireframePipeline code (since we changed the backend to use DebugDraw). perf: changed compilation back to mold instead of lld to improve build times. im so tired hopefully the tabuteau will be happy :/

Unverified

Thribhu K <4tkbytes@pm.me> · 2026-04-01 16:19

view full diff

diff --git a/.cargo/config.toml b/.cargo/config.toml
index e65d04d..83c73e4 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,7 +1,8 @@
 [target.x86_64-unknown-linux-gnu]
 linker = "clang"
 # rustflags = ["-C", "link-arg=-fuse-ld=mold", "-C", "relocation-model=pic"]
-rustflags = ["-C", "link-arg=-fuse-ld=lld"]
+ rustflags = ["-C", "link-arg=-fuse-ld=mold"]
+#rustflags = ["-C", "link-arg=-fuse-ld=lld"]
 
 # note: if you get a compile error such as "Recompile with RPIC", just run `cargo build` 
 # instead of `cargo build -p eucalyptus-core -p eucalyptus-editor`. 
diff --git a/crates/dropbear-engine/Cargo.toml b/crates/dropbear-engine/Cargo.toml
index 95b17dc..8c74ddc 100644
--- a/crates/dropbear-engine/Cargo.toml
+++ b/crates/dropbear-engine/Cargo.toml
@@ -52,6 +52,7 @@ float-derive.workspace = true
 rkyv.workspace = true
 bevy_mikktspace.workspace = true
 wesl.workspace = true
+egui_extras.workspace = true
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
diff --git a/crates/dropbear-engine/src/buffer.rs b/crates/dropbear-engine/src/buffer.rs
index edfbb51..cc3f304 100644
--- a/crates/dropbear-engine/src/buffer.rs
+++ b/crates/dropbear-engine/src/buffer.rs
@@ -2,6 +2,9 @@
 
 use std::marker::PhantomData;
 use bytemuck::NoUninit;
+use dropbear_utils::Dirty;
+
+pub trait BufferType {}
 
 #[derive(Debug, Clone)]
 pub struct ResizableBuffer<T> {
@@ -12,6 +15,8 @@ pub struct ResizableBuffer<T> {
     _marker: PhantomData<T>,
 }
 
+impl<T> BufferType for ResizableBuffer<T> {}
+
 impl<T: NoUninit> ResizableBuffer<T> {
     pub fn new(
         device: &wgpu::Device,
@@ -79,13 +84,15 @@ impl<T: NoUninit> ResizableBuffer<T> {

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