andriyDev / landmass

A navigation system for video games written in Rust.
Apache License 2.0
30 stars 2 forks source link

Move the debugging code in the example to be part of `bevy_landmass::debug`. #49

Closed andriyDev closed 3 months ago

andriyDev commented 3 months ago

Previously, all this debug drawing code was bespoke - every user needed to write their own version. Now it's part of bevy_landmass so every user can just toss it in immediately! Note we still provide draw_archipelago_debug as a low-level API in case users don't like my debug visualizations.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 60 lines in your changes missing coverage. Please review.

Project coverage is 97.1%. Comparing base (2ed7577) to head (9648b9a).

Additional details and impacted files | [Files](https://app.codecov.io/gh/andriyDev/landmass/pull/49?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [crates/bevy\_landmass/src/debug.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/49?src=pr&el=tree&filepath=crates%2Fbevy_landmass%2Fsrc%2Fdebug.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y3JhdGVzL2JldnlfbGFuZG1hc3Mvc3JjL2RlYnVnLnJz) | `0.0% <0.0%> (ø)` | |