kitgit

tirbofish/dropbear · diff

aa156ae · tk

by far the biggest change in this repository. here are the changes: firstly, i tried to work on WASM, but it kept bothering me that there is still no async loading (i hate when it blocks), so I decided to fix that. firstly, i created a LazyType trait which defines a struct that can be lazy. really, its that it does CPU intensive function at the start (like in another thread), then does the graphics related stuff in another thread. but before that, i realised that the graphics crate is non send+sync, so I have been working on using Arcs to separate between the frame changing data and the shared "clonable" data. State is still the source of truth. i have managed to optimise it pretty well. i am curious about the LOC of code i have changed/refactored. also "technically" i have started on gleam, but i cannot really say much.

Unverified

diff --git a/.gitignore b/.gitignore
index 0369e8e..889428d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,4 +22,10 @@ target
 Cargo.lock
 dropbear-engine/src/resources/textures/Autism.png
 .vscode
-docs
\ No newline at end of file
+docs
+
+# gleam
+*.beam
+*.ez
+/build
+erl_crash.dump
diff --git a/Cargo.toml b/Cargo.toml
index 67d6556..b28240e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,9 @@ package.repository = "https://github.com/4tkbytes/dropbear-engine"
 package.readme = "README.md"
 
 resolver = "3"
-members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor", "redback-runtime"]
+members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor"]
+# members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor", "redback-runtime"]
+
 
 [workspace.dependencies]
 anyhow = { version = "1.0", features = ["backtrace"] }
@@ -52,6 +54,10 @@ zip = "5.1"
 walkdir = "2.3"
 wasmer = { version = "6.1.0-rc.3" }
 rayon = "1.11"
+flate2 = "1.1"
+reqwest = { version = "0.11", features = ["stream"] }
+tar = "0.4"
+async-trait = "0.1"
 
 gltf = "1"
 thiserror = "2.0"
diff --git a/dropbear-engine/Cargo.toml b/dropbear-engine/Cargo.toml
index 3e42370..bdc755b 100644
--- a/dropbear-engine/Cargo.toml
+++ b/dropbear-engine/Cargo.toml
@@ -34,6 +34,8 @@ parking_lot.workspace = true
 lazy_static.workspace = true
 gltf.workspace = true

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