MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / passFilter

Method passFilter

Source/ThirdParty/recastnavigation/DetourNavMeshQuery.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71#ifdef DT_VIRTUAL_QUERYFILTER
72bool dtQueryFilter::passFilter(const dtPolyRef /*ref*/,
73 const dtMeshTile* /*tile*/,
74 const dtPoly* poly) const
75{
76 return (poly->flags & m_includeFlags) != 0 && (poly->flags & m_excludeFlags) == 0;
77}
78
79float dtQueryFilter::getCost(const float* pa, const float* pb,
80 const dtPolyRef /*prevRef*/, const dtMeshTile* /*prevTile*/, const dtPoly* /*prevPoly*/,

Callers 13

findRandomPointMethod · 0.80
queryPolygonsInTileMethod · 0.80
findPathMethod · 0.80
updateSlicedFindPathMethod · 0.80
moveAlongSurfaceMethod · 0.80
raycastMethod · 0.80
findPolysAroundCircleMethod · 0.80
findPolysAroundShapeMethod · 0.80
getPolyWallSegmentsMethod · 0.80
findDistanceToWallMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected