diff --git a/Cargo.lock b/Cargo.lock index 5a1d989abfb..a739f3e2d06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3529,17 +3529,14 @@ dependencies = [ [[package]] name = "three-d" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67f308ad823369a15af7278f5fc31e9742663fead72c1361d64d5b39ce882339" +version = "0.12.0" +source = "git+https://github.com/asny/three-d.git?rev=43f210668197e8b1dc50ea9f074d2b8426ecb0f2#43f210668197e8b1dc50ea9f074d2b8426ecb0f2" dependencies = [ "cgmath", - "gl_generator", "gloo-timers", "glow", "half", "js-sys", - "log", "serde", "thiserror", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index 29784afaa34..fc26b0625b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,3 @@ opt-level = 2 # fast and small wasm, basically same as `opt-level = 's'` # opt-level = 3 # unecessarily large wasm for no performance gain # debug = true # include debug symbols, useful when profiling wasm - -[patch.crates-io] -three-d = { git = "https://github.com/asny/three-d.git", rev = "7ac4f3e1e14335290e505a5799a0b88717474678" } diff --git a/examples/custom_3d_three-d/Cargo.toml b/examples/custom_3d_three-d/Cargo.toml index 906adbc0c43..186709c33f2 100644 --- a/examples/custom_3d_three-d/Cargo.toml +++ b/examples/custom_3d_three-d/Cargo.toml @@ -12,4 +12,4 @@ publish = false eframe = { path = "../../eframe", features = ["glow"] } egui_glow = { path = "../../egui_glow" } glow = "0.11" -three-d = { version = "0.12", default-features = false } +three-d = { git = "https://github.com/asny/three-d.git", rev = "43f210668197e8b1dc50ea9f074d2b8426ecb0f2", default-features = false } # 2022-05-22