Skip to content

Commit

Permalink
Remove some debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Jun 16, 2024
1 parent 1816a56 commit 2706b64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ impl CameraController3D {
state: keyboard::KeyState,
delta_time: f32,
) -> bool {
dbg!("Camera con: {}", &key);
log::info!("{}", camera.position);
if state == keyboard::KeyState::Pressed {
let (sin_pitch, cos_pitch) = camera.rotation.x.sin_cos();
Expand Down
6 changes: 0 additions & 6 deletions crates/vent-window/src/platform/wayland/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ impl Dispatch<wl_keyboard::WlKeyboard, ()> for State {
}
WEnum::Unknown(u) => log::error!("Invalid key state {}", u),
}
if key == 1 {
// ESC key
state.running = false;
}
} else if let wl_keyboard::Event::Keymap { format, fd, size } = event {
match format {
WEnum::Value(format) => match format {
Expand Down Expand Up @@ -473,8 +469,6 @@ impl PlatformWindow {
let (globals, event_queue) = registry_queue_init::<State>(&conn).unwrap();
let qhandle = event_queue.handle();

dbg!(&globals.contents());

let wm_base: xdg_wm_base::XdgWmBase =
globals.bind(&event_queue.handle(), 1..=6, ()).unwrap();
state.wm_base = Some(wm_base);
Expand Down

0 comments on commit 2706b64

Please sign in to comment.