ohchase / divert

Rust bindings for Recast Navigation.
https://crates.io/crates/divert
31 stars 10 forks source link

Use recastnavigation-sys instead of bespoke compilation of Detour. #3

Closed andriyDev closed 1 year ago

andriyDev commented 1 year ago

Fixes #2.

This did require some API changes, so this will be a breaking change regardless.

andriyDev commented 1 year ago

I had to upgrade recastnavigation-sys from v1.0.0 to v1.0.1. The change there was to always include the C++ standard library, else in some situations, linking would fail. Now v1.0.1 should fix this.

The other change I made was to add Default for QueryFilter. Clippy complained about it.

ohchase commented 1 year ago

thank you for your contribution! I might add some additional documentation and clean up some existing code then will publish to crates as a new version