From 4e35feb5c2058955c8c874b6ee2c730dfbc0cf1f Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 9 Feb 2024 00:19:20 -0800 Subject: [PATCH] update common --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- src/physics.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 898024b..176e229 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1522,7 +1522,7 @@ dependencies = [ [[package]] name = "strafesnet_common" version = "0.1.0" -source = "git+https://git.itzana.me/StrafesNET/common?rev=c915cdfc0ae1f2c934ebf06b826b05401faa3ad0#c915cdfc0ae1f2c934ebf06b826b05401faa3ad0" +source = "git+https://git.itzana.me/StrafesNET/common?rev=f155dd6a5015e4494c233888cb570a5014f86208#f155dd6a5015e4494c233888cb570a5014f86208" dependencies = [ "glam", "id", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "strafesnet_rbx_loader" version = "0.1.0" -source = "git+https://git.itzana.me/StrafesNET/rbx_loader?rev=4be9e44627b3498236203cf2743c7ff49fc25873#4be9e44627b3498236203cf2743c7ff49fc25873" +source = "git+https://git.itzana.me/StrafesNET/rbx_loader?rev=7a6b4943584179528fca5a9f6afb7990ca975310#7a6b4943584179528fca5a9f6afb7990ca975310" dependencies = [ "glam", "lazy-regex", diff --git a/Cargo.toml b/Cargo.toml index e6e2e9c..29545a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,8 +13,8 @@ glam = "0.25.0" id = { git = "https://git.itzana.me/Quaternions/id", rev = "1f710976cc786c8853dab73d6e1cee53158deeb0" } parking_lot = "0.12.1" pollster = "0.3.0" -strafesnet_common = { git = "https://git.itzana.me/StrafesNET/common", rev = "c915cdfc0ae1f2c934ebf06b826b05401faa3ad0" } -strafesnet_rbx_loader = { git = "https://git.itzana.me/StrafesNET/rbx_loader", rev = "4be9e44627b3498236203cf2743c7ff49fc25873" } +strafesnet_common = { git = "https://git.itzana.me/StrafesNET/common", rev = "f155dd6a5015e4494c233888cb570a5014f86208" } +strafesnet_rbx_loader = { git = "https://git.itzana.me/StrafesNET/rbx_loader", rev = "7a6b4943584179528fca5a9f6afb7990ca975310" } wgpu = "0.19.0" winit = "0.29.2" diff --git a/src/physics.rs b/src/physics.rs index 943c873..04775d5 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1041,7 +1041,7 @@ impl PhysicsContext{ },aabb) }) }).collect(); - self.data.bvh=bvh::generate_bvh_node(convex_mesh_aabb_list); + self.data.bvh=bvh::generate_bvh(convex_mesh_aabb_list); println!("Physics Objects: {}",self.data.models.models.len()); }