Commit Graph

189 Commits

Author SHA1 Message Date
ikpil eb1aa49363 [Upstream] Fix out of bounds access in dtMergeCorridorStartMoved and add tests
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.

- 599fd0f023
- https://github.com/recastnavigation/recastnavigation/pull/635

replace comment in DtPathCorridor

checking

tt

npath
2024-02-23 01:06:00 +09:00
ikpil 5b6fddcedc coverlet.collector 6.0.1 2024-02-22 01:25:19 +09:00
wreng 609508c94f Support split special case 2024-02-22 00:33:06 +09:00
wreng c47cc79552 CyclicBuffers SIMD 2024-02-22 00:33:06 +09:00
ikpil c908daa8c3 RcCyclicBuffer<T> optimizations @wrenge 2024-02-20 01:53:50 +09:00
wreng 097a365528 CyclicBuffer optimizations 2024-02-20 01:17:34 +09:00
ikpil ad504fe217 Changed from List<T> to RcCyclicBuffer in DtCrowdTelemetry execution timing sampling @wrenge
- https://github.com/ikpil/DotRecast/issues/51
2024-02-18 00:43:29 +09:00
ikpil d0bec3714e added corridor maxpath for SOH issue
- https://github.com/ikpil/DotRecast/issues/41
2024-02-16 00:26:23 +09:00
ikpil b26847d90f change GetNodeMap to AsEnumerable in DtNodePool 2024-02-13 13:53:43 +09:00
ikpil a65e5a3125 added DtNodeQueue unittest 2024-02-09 17:56:16 +09:00
ikpil 1db7fed92d fix: RcSortedQueue.Remove can not use binary-search 2024-02-08 00:22:32 +09:00
ikpil 45e4426df6 Changed RcSortedQueue.Remove() function to use binary search 2024-02-08 00:03:06 +09:00
ikpil a1b730da7d Update Microsoft.NET.Test.Sdk 17.8.0 to 17.9.0 2024-02-07 22:54:52 +09:00
ikpil 2d3ca5b321 added WangHash for DtNodePool 2024-02-04 13:24:26 +09:00
ikpil 88059fcdcf added DtNodePool all tests 2024-02-03 01:23:57 +09:00
ikpil 8ae375ef4c upgrade NUnit.Analyzers 4.0.1 2024-02-03 01:19:14 +09:00
ikpil bf83597c1e added DtNodePool.GetNode, FindNode, FindNodes tests 2024-02-02 00:29:58 +09:00
ikpil 5073f657f9 upgrade NUnit.Analyzers 4.0.0 2024-01-30 00:29:04 +09:00
ikpil 96e8b12772 fix: random size of an array for testing could be 0 2024-01-21 19:59:46 +09:00
ikpil 0d4344dabb remove Parallelizable in UnitTest 2024-01-21 19:27:58 +09:00
ikpil 4cb4f16096 fix 2024-01-21 19:10:54 +09:00
ikpil 675ca8ea4b added RcRentedArray (#41) 2024-01-21 19:06:01 +09:00
ikpil f1ecd37f4d again 2024-01-21 13:05:08 +09:00
ikpil 75eadc601d fix: changed stack memory test for unittest 2024-01-21 13:05:08 +09:00
ikpil 94ee6f9366 extended RcStackArray up to 512 elements (#41) 2024-01-21 13:05:08 +09:00
ikpil c53162f3e3 check aray interface 2024-01-21 13:05:08 +09:00
ikpil 07b50d9391 refactor: added RcStackArray4, RcStackArray8
- https://github.com/ikpil/DotRecast/issues/41
2024-01-21 13:05:08 +09:00
ikpil 2edabd3d44 rename RcTelemetry to RcContext 2024-01-07 13:00:38 +09:00
ikpil 507e3548ef refactor: aligned the parameter order of RasterizeTriangles() to match that of rcRasterizeTriangles() in the recastnavigation project. 2024-01-05 00:37:40 +09:00
c0nd3v b1db6df033 Fix typo 2023-12-23 11:14:00 +09:00
ikpil 29a7508520 upgrade: NUnit 4.0.0 -> 4.0.1 2023-12-03 13:31:16 +09:00
ikpil 330d356198 upgrade: Moq 4.20.69 -> 4.20.70 2023-11-29 14:07:31 +09:00
ikpil ea50e16a80 NUnit.Analyzers 3.9.0 -> 3.10.0 2023-11-28 23:55:59 +09:00
ikpil b887600f72 upgrade NUnit 4.0 2023-11-27 13:36:15 +09:00
Ikpil 7e472fae55
Pr/support net8 (#20)
* support net8
2023-11-16 14:05:19 +09:00
ikpil 69c8c950d2 refactor: add type-safe array copy function 2023-11-11 13:08:52 +09:00
ikpil a50ba0b1b1 refactor: changed float[6] to RcVec3f[2] in DtOffMeshConnection class 2023-11-11 12:36:40 +09:00
ikpil afabec2b7d upgrade: nuget 2023-11-09 22:11:35 +09:00
ikpil 170b019517 upgrade: NUnit 3.13.3 -> 3.14.0 2023-11-07 13:42:42 +09:00
ikpil 26309e79f8 refactor: support net6.0 2023-10-28 12:30:49 +09:00
ikpil a8ae6b46b0 refactor: upgrade NUnit.Analyzers 2023-10-28 12:09:21 +09:00
ikpil 5176ee036a refactor: support .netstandard2.1 vector3 2023-10-28 12:08:17 +09:00
ikpil 21b3cd6caa refactor: RcVec3f.Lerp 2023-10-27 00:03:03 +09:00
ikpil 9a62fbf9f4 refactor: RcVec3f.Mad, IsFinite, Lerp 2023-10-26 00:05:00 +09:00
ikpil 18a195404f refactor: RcVec3f.Dist2D, Dist2DSqr, Perp2D 2023-10-25 23:50:54 +09:00
ikpil 7eba4e0c9d refactor: RcVec3f.Min/Max 2023-10-25 23:44:01 +09:00
ikpil 28ad34b032 refactor: RcVec3f.DistSqr, RcVec3f.LenSqr 2023-10-25 00:40:00 +09:00
ikpil d99666048b refactor: Math -> MathF 2023-10-25 00:09:34 +09:00
ikpil ef8ef94826 refactor: TestVectorDot 2023-10-24 23:33:24 +09:00
ikpil 617eaa1287 refactor: RcVec3f.Distance 2023-10-24 00:20:42 +09:00