Add debug wireframe rendering support
This commit is contained in:
parent
8041c7e01d
commit
73692b710e
12 changed files with 221 additions and 7 deletions
|
|
@ -8,7 +8,8 @@ use winit::event::{Event, WindowEvent};
|
|||
use systems::debug_camera::FPSDebugCameraSystem;
|
||||
use crate::systems::common::should_draw_menu;
|
||||
use crate::systems::{
|
||||
DisplaySettings, KeybindsSystem, KinematicCharacterController, MenuSystem, PhysicsSystem
|
||||
DisplaySettings, KeybindsSystem, KinematicCharacterController, MenuSystem, PhysicsSystem,
|
||||
PhysicsDebugSystem,
|
||||
};
|
||||
|
||||
const TEST_GLTF: &str = "sphere.glb";
|
||||
|
|
@ -125,6 +126,7 @@ impl System for MainSystem {
|
|||
fn main() {
|
||||
raidillon_app::App::new()
|
||||
.add_system::<PhysicsSystem>()
|
||||
.add_system::<PhysicsDebugSystem>()
|
||||
.add_system::<KeybindsSystem>()
|
||||
.add_system::<KinematicCharacterController>()
|
||||
.add_system::<FPSDebugCameraSystem>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue