mcpp index

compat.recastnavigation

#include

Recast Navigation — navmesh generation (Recast) and runtime pathfinding (Detour); optional crowd simulation, tile cache and debug draw

#include <recastnavigation/Recast.h>
mcpp add compat.recastnavigation@1.6.0

Usage

From this repository's own test project — built and run by CI, not written for the website.

// compat.recastnavigation——三个按 feature 门控的组件,逐个让它做出
// 可观察的工作。
//
// `recastnavigation-features` 只点名 `crowd` 和 `debug-utils`。
// `tilecache` 没被点名,这是刻意的:上游的 DebugUtils 无条件链接
// DetourTileCache,所以描述符让 `debug-utils` imply `tilecache`。这条
// implication 哪天失效,本成员会在链接期失败,而不是悄悄发出一个没法
// 画调试图的包。
//
// 一切都通过生成的 `recastnavigation/` include 前缀行使——与上游自己的
// CMake 安装产出一致——所以 shim 层对 feature 头也有覆盖,不只是核心头。
#include <recastnavigation/Recast.h>
#include <recastnavigation/RecastAlloc.h>
#include <recastnavigation/DetourAlloc.h>
#include <recastnavigation/DetourCommon.h>
#include <recastnavigation/DetourNavMesh.h>
#include <recastnavigation/DetourNavMeshBuilder.h>
#include <recastnavigation/DetourNavMeshQuery.h>
#include <recastnavigation/DetourStatus.h>
#include <recastnavigation/DetourCrowd.h>
#include <recastnavigation/DetourTileCache.h>
#include <recastnavigation/DetourTileCacheBuilder.h>
// …

tests/examples/recastnavigation-features/tests/features.cpp · project tests/examples/recastnavigation-features

Build

targets
recastnavigation (lib)
language
c++23
import std
no
include dirs
*/Recast/Include, */Detour/Include, */DetourCrowd/Include, */DetourTileCache/Include, */DebugUtils/Include, mcpp_generated

Features

featuredeclares
debug-utilsimplies, sources
crowdsources
tilecachesources

Sources (2)

  • */Recast/Source/*.cpp
  • */Detour/Source/*.cpp

Generated files

  • mcpp_generated/recastnavigation/RecastDump.h
  • mcpp_generated/recastnavigation/DetourObstacleAvoidance.h
  • mcpp_generated/recastnavigation/version.h
  • mcpp_generated/recastnavigation/DetourNavMesh.h
  • mcpp_generated/recastnavigation/DetourPathCorridor.h
  • mcpp_generated/recastnavigation/DetourNavMeshQuery.h
  • mcpp_generated/recastnavigation/DetourAssert.h
  • mcpp_generated/recastnavigation/RecastAssert.h
  • mcpp_generated/recastnavigation/Recast.h
  • mcpp_generated/recastnavigation/DetourStatus.h
  • mcpp_generated/recastnavigation/DetourNode.h
  • mcpp_generated/recastnavigation/RecastDebugDraw.h
  • mcpp_generated/recastnavigation/DetourPathQueue.h
  • mcpp_generated/recastnavigation/DebugDraw.h
  • mcpp_generated/recastnavigation/DetourTileCacheBuilder.h
  • mcpp_generated/recastnavigation/DetourDebugDraw.h
  • mcpp_generated/recastnavigation/DetourProximityGrid.h
  • mcpp_generated/recastnavigation/DetourMath.h
  • mcpp_generated/recastnavigation/DetourTileCache.h
  • mcpp_generated/recastnavigation/DetourLocalBoundary.h
  • mcpp_generated/recastnavigation/RecastAlloc.h
  • mcpp_generated/recastnavigation/DetourNavMeshBuilder.h
  • mcpp_generated/recastnavigation/DetourCommon.h
  • mcpp_generated/recastnavigation/DetourCrowd.h
  • mcpp_generated/recastnavigation/DetourAlloc.h

Versions

VersionPlatforms Mirrorssha256
1.6.0 latest LinuxWindowsmacOS source d48ca0121962…