Skip to content

mcpplibs.mwrap.recastnavigation 1.6.0.1: the crowd's obstacle avoidance the same on every platform - #797

Merged
Sunrisepeak merged 1 commit into
mainfrom
mwrap-recastnavigation-1.6.0.1
Nov 15, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
mwrap-recastnavigation-1.6.0.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Adds recastnavigation-m 1.6.0.1, the wrapper's first revision (docs/mwrap.md: upstream 1.6.0, revision 1). A crowd with DT_CROWD_OBSTACLE_AVOIDANCE now walks to the same places on every platform. In 1.6.0, DetourCrowd's obstacle avoidance and DetourTileCache's oriented boxes called the C library's cosf/sinf directly, bypassing Detour's own hooks, and the hooks themselves forwarded to libm, whose results differ by an ulp between glibc, macOS, the Windows UCRT and emscripten.

Three patches, pre-applied in upstream/, with each file's tarball and patched sha256 recorded in upstream/documents.json:

The wrapper's CI rows (Linux x86-64/arm64 GCC and LLVM, macOS, Windows, wasm32, each in dev and release) give the same pinned hashes: avoiding crowd 0x96c1d5d10d964de3, trig fingerprints, and the unchanged mesh and crowd hashes. The GitHub release and the GitCode mirror have the same bytes (sha256 5dd92b2…8fbc9). The consumer test tests/mwrap/recastnavigation-path now uses 1.6.0.1 and passes locally through the candidate index.

…ce the same on every platform (deterministic trigonometry; the even-count adaptive pattern fixed)
@Sunrisepeak
Sunrisepeak merged commit 4cbf306 into main Nov 15, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant