Commit Graph

12 Commits

Author SHA1 Message Date
Roman Siromakha
599fd0f023 Fix out of bounds access in dtMergeCorridorStartMoved and add tests (#635)
size can become negative if req > maxPath. This may happen when visited buffer is larger than path buffer.

Add tests to cover different use cases of the function including Should add visited points not present in path up to the path capacity to cover the fix.

List tests files explicitly. When new file is added CMake does not add it to the already generated list if GLOB is used.
2024-01-28 13:26:50 -05:00
nicknide
9147d09553 fix invalid assert dtAssert(npath < m_maxPath) (#619) 2023-07-23 16:22:37 -04:00
aymarfisherman
7cca61dc41 Renamed all instances of 'extents' to 'halfExtents' (#279) 2017-08-20 17:05:51 +02:00
Mikko Mononen
a8d1cba68c Fixed google code Issue 237
- check query status of moveAlongSurface() in path corridor
2013-09-17 21:07:41 +02:00
Mikko Mononen
17fae045a2 - improved replanting logic (better use of existing path)
- added priority q to help end-of-path replanting contestation
2012-05-31 10:36:35 +00:00
Mikko Mononen
00edec6ffb - dtCrowd API Changed!
- finalizeSlicedFindPathPartial() returns best if no existing match found
- refactored crowd move requests
- removed adjustMoveTarget()
- added requestMoveVelocity() and resetMoveTarget()
- improved path replanning robustness
- added move visualization to crowd tool
2012-05-31 09:07:54 +00:00
Stephen Pratt
0ec4f993cb Crowd: Detail API documentation for primary members declared in DetourCrowd.h.
Also includes some minor updates to the path corridor documentation.
2011-10-04 18:57:17 +00:00
Stephen Pratt
dee5f6a9bc Crowd: Detail API documentation for members declared in DetourPathCorridor.h. 2011-09-26 19:10:54 +00:00
Mikko Mononen
1b6ca5a94a Fixed findStraightPath() to return partial results. Fixed main.cpp FPS throttling. Added initial support for path replanning in DetourCrowd. 2011-08-01 10:48:56 +00:00
Mikko Mononen
6271b40ae6 Updated VC project and fixed compile warnings. 2011-01-31 07:33:01 +00:00
Mikko Mononen
7f2696cbbf First implementation of DetourCrowd off-mesh connection handling. 2011-01-30 17:11:20 +00:00
Mikko Mononen
4a81213b3b Refactored and cleaned up CrowdManager and moved it to DetourCrowd. Update tool UI layout, context sensitive help is now rendered as overlay. 2011-01-29 15:28:28 +00:00