- ๐ Hi, Iโm @ohchase
ohchase / divert Goto Github PK
View Code? Open in Web Editor NEWRust bindings for Recast Navigation.
Home Page: https://crates.io/crates/divert
Rust bindings for Recast Navigation.
Home Page: https://crates.io/crates/divert
divert only supports Detour (and links against the Detour library). recastnavigation-sys supports Recast, Detour, DetourCrowd, and DetourTileCache, all provided as feature flags (so divert will still only link in Detour). This will make divert compatible with all other crates using recastnavigation-sys. Otherwise, using this crate and recastnavigation-sys can cause linking errors.
recastnavigation-sys also handles more complexities of linking, like searching for Detour on the system, and vendoring.
This should probably result in cutting a new crate version for divert since this would be taking on a totally new dependency.
The examples are not of good quality.
Create an example not dependent on trinitycore mmaps, and properly demonstrate rayon(?) parallel path finding.
The operations are computationally blocking, so not aware of this library being of any use for tokio / work stealing runtimes where you dont want to block.
Check if the public API is stable, try to actually make a future proof plan for moving towards a 1.0.0 stable api.
Everything needs documentation, or at least much more thorough documentation.
All functions with unsafe blocks that are exposed publicly as safe need safety clauses.
Make sure there is no panic spots, and document accordingly as well.
Try to move away from TrinityCore usage, to make it clear this is also available for any general 3d mesh navigation where you are willing to use a non rust code base in favor of linking against the actively maintained c++ recast navigation project and for guaranteed feature parity if you are migrating a project.
hi, i catch an error like this:
Compiling regex v1.6.0
Compiling divert v0.3.0 (E:\wow\divert-master)
error: failed to run custom build command for `divert v0.3.0 (E:\wow\divert-master)`
Caused by:
process didn't exit successfully: `E:\wow\divert-master\target\debug\build\divert-fda6f2f70278ca2b\build-script-build` (exit code: 1)
--- stderr
error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "recastnavigation/Detour/Include" "-W4" "-DDT_POLYREF64=1" "-FoE:\\wow\\divert-master\\target\\debug\\build\\divert-a36680083424e849\\out\\recastnavigation/Detour/Source/DetourAlloc.o" "-c" "recastnavigation/Detour/Source/DetourAlloc.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).
warning: build failed, waiting for other jobs to finish...
how do i fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.