cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2022-07-20 10:18:16 -05:00
parent 3e6b864e3e
commit 360bf5094b

View File

@ -75,9 +75,9 @@ impl Viewshed {
0., 0.,
); );
// println!( // println!(
// "Hit {:?}, pushing {:?}", // "Hit {:?}, pushing {:?}",
// entity, // entity,
// collider.raw.compute_aabb(&position) // collider.raw.compute_aabb(&position)
// ); // );
boxes.push(collider.raw.compute_aabb(&position)); boxes.push(collider.raw.compute_aabb(&position));
} }
@ -178,8 +178,8 @@ impl Viewshed {
for lost in visible_entities.difference(&new_visible_entities) { for lost in visible_entities.difference(&new_visible_entities) {
if let Ok((_, _, transform)) = visible_query.get(*lost) { if let Ok((_, _, transform)) = visible_query.get(*lost) {
// println!( // println!(
// "transition: {:?} loses {:?} at {:?}", // "transition: {:?} loses {:?} at {:?}",
// viewer_entity, lost, transform.translation // viewer_entity, lost, transform.translation
// ); // );
} }
events.send(VisibilityChanged::Lost { events.send(VisibilityChanged::Lost {