Searched refs:navMeshQuery (Results 1 – 5 of 5) sorted by relevance
/dports/games/openmw/openmw-openmw-0.47.0/components/detournavigator/ |
H A D | findsmoothpath.hpp | 111 … inline std::optional<MoveAlongSurfaceResult> moveAlongSurface(const dtNavMeshQuery& navMeshQuery, in moveAlongSurface() argument 118 const auto status = navMeshQuery.moveAlongSurface(startRef, startPos.ptr(), endPos.ptr(), in moveAlongSurface() 145 Status makeSmoothPath(const dtNavMesh& navMesh, const dtNavMeshQuery& navMeshQuery, in makeSmoothPath() argument 151 navMeshQuery.closestPointOnPoly(polygonPath.front(), start.ptr(), iterPos.ptr(), nullptr); in makeSmoothPath() 154 navMeshQuery.closestPointOnPoly(polygonPath.back(), end.ptr(), targetPos.ptr(), nullptr); in makeSmoothPath() 191 polygonPath = fixupShortcuts(polygonPath, navMeshQuery); in makeSmoothPath() 261 dtNavMeshQuery navMeshQuery; in findSmoothPath() local 262 if (!initNavMeshQuery(navMeshQuery, navMesh, settings.mMaxNavMeshQueryNodes)) in findSmoothPath() 272 … dtPolyRef startRef = findNearestPolyExpanding(navMeshQuery, queryFilter, start, halfExtents); in findSmoothPath() 276 dtPolyRef endRef = findNearestPolyExpanding(navMeshQuery, queryFilter, end, halfExtents); in findSmoothPath() [all …]
|
H A D | raycast.cpp | 15 dtNavMeshQuery navMeshQuery; in raycast() local 16 if (!initNavMeshQuery(navMeshQuery, navMesh, settings.mMaxNavMeshQueryNodes)) in raycast() 23 …if (dtStatus status = navMeshQuery.findNearestPoly(start.ptr(), halfExtents.ptr(), &queryFilter, &… in raycast() 32 …if (dtStatus status = navMeshQuery.raycast(ref, start.ptr(), end.ptr(), &queryFilter, options, &hi… in raycast() 37 …if (dtStatus status = navMeshQuery.closestPointOnPoly(path[hit.pathCount - 1], end.ptr(), hitPosit… in raycast()
|
H A D | findrandompointaroundcircle.cpp | 15 dtNavMeshQuery navMeshQuery; in findRandomPointAroundCircle() local 16 if (!initNavMeshQuery(navMeshQuery, navMesh, settings.mMaxNavMeshQueryNodes)) in findRandomPointAroundCircle() 22 … dtPolyRef startRef = findNearestPolyExpanding(navMeshQuery, queryFilter, start, halfExtents); in findRandomPointAroundCircle() 28 navMeshQuery.findRandomPointAroundCircle(startRef, start.ptr(), maxRadius, &queryFilter, in findRandomPointAroundCircle()
|
H A D | findsmoothpath.cpp | 108 …std::optional<SteerTarget> getSteerTarget(const dtNavMeshQuery& navMeshQuery, const osg::Vec3f& st… in getSteerTarget() argument 118 … const dtStatus status = navMeshQuery.findStraightPath(startPos.ptr(), endPos.ptr(), path.data(), in getSteerTarget()
|
/dports/games/openmw/openmw-openmw-0.47.0/components/sceneutil/ |
H A D | navmesh.cpp | 16 dtNavMeshQuery navMeshQuery; in createNavMeshGroup() local 17 navMeshQuery.init(&navMesh, settings.mMaxNavMeshQueryNodes); in createNavMeshGroup() 18 duDebugDrawNavMeshWithClosedList(&debugDraw, navMesh, navMeshQuery, in createNavMeshGroup()
|