mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
Remove eprintln from 2d_screen_shake
example (#15786)
# Objective Remove debug print ## Solution Remove it ## Testing `cargo run --example 2d_screen_shake`
This commit is contained in:
parent
3f683c728a
commit
6f8f70b56d
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ fn screen_shake(
|
|||
let angle = (screen_shake.max_angle * shake).to_radians() * rng.gen_range(-1.0..1.0);
|
||||
let offset_x = screen_shake.max_offset * shake * rng.gen_range(-1.0..1.0);
|
||||
let offset_y = screen_shake.max_offset * shake * rng.gen_range(-1.0..1.0);
|
||||
eprintln!("{} {}", offset_x, offset_y);
|
||||
|
||||
if shake > 0.0 {
|
||||
for (mut camera, mut transform) in query.iter_mut() {
|
||||
// Position
|
||||
|
|
Loading…
Reference in a new issue