andriyDev / landmass

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

Add `AgentNotOnNavMesh` and `TargetNotOnNavMesh`. #30

Closed andriyDev closed 7 months ago

andriyDev commented 7 months ago

Now we can differentiate there being no path vs not even starting the search due to no start/end node!

codecov-commenter commented 7 months ago

Codecov Report

Merging #30 (8acb69d) into main (00aff7c) will decrease coverage by 0.1%. The diff coverage is 87.5%.

Additional details and impacted files | [Files](https://app.codecov.io/gh/andriyDev/landmass/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/agent.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2FnZW50LnJz) | `100.0% <ø> (ø)` | | | [src/lib.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2xpYi5ycw==) | `98.1% <87.5%> (-0.6%)` | :arrow_down: |