This commit is contained in:
parent
3e6b864e3e
commit
360bf5094b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user