Commit Graph

975 Commits

Author SHA1 Message Date
ikpil 62f9cfe034 Support for saving and loading dynamic nav meshes @ppiastucki
[Upstream] from recast4j
506b503 - chore: Support for saving and loading dynamic nav meshes (fixes #200) (#209)
2024-10-01 23:28:50 +09:00
ikpil 36795dc909 Serilog 4.0.2 2024-09-29 22:53:10 +09:00
ikpil 85e2484505 fix: Support non-tiled dynamic nav meshes (@ppiastucki)
[Upstream] from recast4j
- fe071aa - fix: Support non-tiled dynamic nav meshes (#205)
2024-09-21 03:13:51 +09:00
ikpil 2d0e2f8525 Fix dynamic mesh bounds calculation #77
recast4j
- https://github.com/recast4j/recast4j/issues/203
- https://github.com/recast4j/recast4j/pull/204
2024-09-21 02:54:01 +09:00
ikpil e9a05843da bugfix - checkbox flags 2024-09-12 01:35:21 +09:00
ikpil 5735c98c79 Moq 4.20.71 2024-09-07 23:22:41 +09:00
ikpil f18bedb02d force utf-8 2024-09-05 22:57:28 +09:00
ikpil 1179f87d02 Microsoft.NET.Test.Sdk 17.11.1 2024-09-05 22:37:33 +09:00
ikpil a9e4ca377d upgrade Moq 4.20.71 2024-09-05 22:34:22 +09:00
ikpil 1eb65ca856 NUnit 4.2.1 2024-09-01 22:22:34 +09:00
ikpil e73ec9acda runtime comment 2024-08-24 22:25:13 +09:00
ikpil 4a19d597c1 update Nunit 4.2.1 2024-08-24 20:32:38 +09:00
ikpil 201401b54f update Microsoft.NET.Test.Sdk 17.11.0 2024-08-21 13:58:04 +09:00
ikpil e6bea60db3 NUnit.Analyzers 4.3.0 2024-08-12 07:55:52 +09:00
ikpil 887294af1b upgrade BenchmarkDotNet 0.14.0 2024-08-08 22:54:03 +09:00
Sarofc 997d3f1a9b draw agent option 2024-08-08 22:53:27 +09:00
ikpil 13be6d5bd8 benchmark 2024-08-04 18:55:17 +09:00
ikpil cd7c668caf changed PriorityQueueBenchmarks 2024-08-04 18:35:25 +09:00
ikpil 153b523ea7 changelog 2024-08-04 18:15:16 +09:00
ikpil 89214accfb added RcBinaryMinHeapTest 2024-08-04 18:03:31 +09:00
ikpil 8a655528c3 benchmark 2024-08-03 14:36:46 +09:00
Sarofc c036501879 opt UpdateMoveRequest UpdateTopologyOptimization
# Conflicts:
#	src/DotRecast.Detour.Crowd/DtCrowd.cs

Benchmark

b3

b4
2024-08-03 13:24:42 +09:00
Sarofc 5aeb1e465c add benchmark 2024-08-03 12:13:45 +09:00
Sarofc ab04256cdf Update ModernOpenGLDraw.cs
(cherry picked from commit 6fb44cc3ce47be2c724d6093ef4b3168aacf9480)
2024-07-26 22:27:24 +09:00
ikpil 7ffda46c2f NUnit3TestAdapter 4.6.0 2024-07-26 22:10:17 +09:00
ikpil 8ba8c04895 update serilog 4.0.1 2024-07-25 23:16:19 +09:00
ikpil bc7818a1c5 [Upstream] fix: Fix raycast shortcuts (@Sarofc)
Raycast is performed in 2d and it might report reaching the given position even if the Y coordinate is different than the target. Therefore, it is necessary to check what poly is actually hit by raycast before taking a shortcut.

- https://github.com/recast4j/recast4j/issues/196
- https://github.com/recast4j/recast4j/pull/197
- https://github.com/ikpil/DotRecast/issues/72
2024-07-18 20:06:36 +09:00
ikpil a87f34e738 update comment 2024-07-17 23:48:11 +09:00
ikpil cf7aec90ee Changed DtNavMeshQuery.GetPolyWallSegments() to use Span<T> for enhanced performance, memory efficiency. 2024-07-16 22:19:41 +09:00
ikpil 84419b1d52 Changed memory handling to use stackalloc in DtNavMeshQuery.GetPolyWallSegments for reducing SOH
Refactored to use stack-allocated Span<DtSegInterval> instead of dynamically allocating List<DtSegInterval>. This reduces potential heap allocations and improves performance by efficiently managing memory within a fixed size context.
2024-07-14 23:51:04 +09:00
ikpil c562f8f6a1 Changed new RcVec3f[3] to stackalloc RcVec3f[3] in DtNavMesh.GetPolyHeight() to reduce heap allocation. 2024-07-14 00:09:08 +09:00
ikpil eccce01cff reorder variable declarations 2024-07-13 23:21:56 +09:00
ikpil 990dbcf97f Changed data structure of 'neis' from List<byte> to byte[] for optimized memory usage and improved access speed in `DtLayerMonotoneRegion` 2024-07-12 23:55:35 +09:00
ikpil 00950b1210 update Serilog.Settings.Configuration 8.0.2 2024-07-12 23:18:19 +09:00
ikpil c5820af20b update comment 2024-07-12 01:54:38 +09:00
ikpil afe93d084e update comment 2024-07-12 01:46:53 +09:00
ikpil c1e7b84efa update readme 2024-07-09 00:11:02 +09:00
ikpil fbce7f40f4 2024.3.1 2024-07-09 00:10:38 +09:00
ikpil b34b17e89c update comment in DtCrowdAgentParams 2024-07-08 14:01:28 +09:00
ikpil 31b7eaf9a3 update comment 2024-07-08 13:55:56 +09:00
ikpil 9ebaa3fc65 Changed to limit neighbor search to a maximum count and use array for memory efficiency in `DtCrowd.AddNeighbour()` 2024-07-07 14:58:38 +09:00
ikpil 76e5ade4d1 update comment in DtCrowdNeighbour 2024-07-07 14:04:37 +09:00
ikpil 1894a56889 Changed to efficiently stack nearby DtCrowdAgents in `DtCrowd.GetNeighbours()` 2024-07-07 12:55:51 +09:00
ikpil 828b9644cc Changed agents management from list to dictionary in `Crowd` 2024-07-07 12:38:09 +09:00
ikpil ab2c520076 Changed `new float[]` to `stackalloc float[]` in `DtConvexConvexIntersections.Intersect()` 2024-07-05 00:15:03 +09:00
ikpil 4743ba68f9 Changed static readonly to const 2024-07-04 23:34:25 +09:00
ikpil fa2ff6f133 comment 2024-07-04 01:14:31 +09:00
ikpil 355a08e7ef int to byte 2024-07-03 23:08:31 +09:00
ikpil a282a80356 Changed vertCount and triCount to byte in DtPolyDetail 2024-07-02 13:47:31 +09:00
ikpil ba6815769a Changed to use Span<byte> and stackalloc for improved performance and memory management in `RcLayers.BuildHeightfieldLayers()` 2024-06-27 14:04:30 +09:00