Add physics crate with rapier3d

This commit is contained in:
reo 2025-07-20 21:47:10 +03:00
parent a3d3f641cd
commit 8c9c310198
13 changed files with 756 additions and 102 deletions

View file

@ -4,10 +4,11 @@ version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.98"
glium = { version = "0.35.0", features = ["glutin_backend", "simple_window_builder"] }
imgui = "0.12"
imgui-winit-support = "0.13"
imgui-glium-renderer = "0.13"
winit = "0.30"
raidillon_render = { path = "../raidillon_render" }
anyhow = "1"
winit = "0.30"
rapier3d = "0.26.1"
glium = { version = "0.35", features=["glutin"] }

View file

@ -87,6 +87,8 @@ impl Gui {
});
target.finish().expect("Failed to swap buffers");
ecsr.renderer.set_colliders(None);
}
pub fn ui<F>(&mut self, build: F)