// nav_crowd.inl - DetourCrowd over a navmesh: many walkers steered along their paths at once, each // kept clear of the others. The mechanic decides where and how fast; the crowd only moves them. struct Crowd { dtCrowd *crowd = nullptr; Nav *nav = nullptr; long long ns = 0; // time spent stepping it, for the measure (18.8) }; // a crowd of at most max walkers, none wider than max_radius, with the mesh's tastes as its filters NAV_SHIM void *nav_crowd_new(void *h, int max, float max_radius) { Nav *n = static_cast