| 35 | namespace |
| 36 | { |
| 37 | FORCE_INLINE void InitFilter(dtQueryFilter& filter) |
| 38 | { |
| 39 | Platform::MemoryCopy(filter.m_areaCost, NavMeshRuntime::NavAreasCosts, sizeof(NavMeshRuntime::NavAreasCosts)); |
| 40 | static_assert(sizeof(dtQueryFilter::m_areaCost) == sizeof(NavMeshRuntime::NavAreasCosts), "Invalid navmesh area cost list."); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | NavMeshRuntime::NavMeshRuntime(const NavMeshProperties& properties) |
no outgoing calls