Commit Graph

837 Commits

Author SHA1 Message Date
wrenge 38a8029b6e Merge branch 'risky_optimizations' 2024-11-13 12:57:33 +03:00
wrenge 418a39a576 MergeCorridorEndMoved alloc fix 2024-11-13 12:57:19 +03:00
wrenge 05613f196f MergeCorridorStartShortcut alloc fix 2024-11-13 12:52:33 +03:00
wrenge 4dee6b20b5 typo fix 2024-11-13 12:48:02 +03:00
wrenge 49da3fb454 Removed allocations from MergeCorridorStartMoved 2024-11-13 12:09:48 +03:00
wrenge 2c6f6a50cc CollectionExtensions.cs List<T>.AddRange(Span<T>) 2024-11-13 12:09:29 +03:00
wrenge dbc92a9aef RcRentedArray AsSpan 2024-11-13 11:54:10 +03:00
wrenge c7c6e53d61 Made list in DtPathCorridor.cs readonly 2024-11-13 11:32:38 +03:00
wrenge 858e094ea0 Revert "Allocation free merge corridor"
This reverts commit acd3f8d879.
2024-11-13 11:11:12 +03:00
wrenge acd3f8d879 Allocation free merge corridor 2024-11-13 10:22:04 +03:00
wrenge fff0998613 Pass delegate 2024-11-13 09:35:27 +03:00
wrenge 2397f23fc3 Queries change 2024-11-12 16:56:11 +03:00
wrenge b6a1a81fdc Reverse comparer shenanigans 2024-11-12 16:37:39 +03:00
wrenge c989276f5e [NETSIM] rented array into struct 2024-11-12 16:01:35 +03:00
wrenge c0b916a0d1 Use object pools instead of allocating new lists 2024-11-12 14:47:57 +03:00
wrenge 3e754529e5 Node pool change 2024-11-12 14:10:20 +03:00
wrenge 8642d47738 version bump 2024-11-12 11:21:28 +03:00
wrenge ff930712ee Use rented array instead of allocating 2024-11-12 11:18:14 +03:00
wrenge 6fe6844efd Span access 2024-11-11 14:26:35 +03:00
wrenge c8104cec4d Replaced arrays with spans in query. Replaced array allocation with buffer rent in query. 2024-11-11 14:19:43 +03:00
wrenge db0717a77e package version bump 2024-11-11 11:37:12 +03:00
wrenge 724be6f3b2 Backport 20a86b5bae 2024-11-11 11:34:47 +03:00
wrenge 0f28fa26ec Merge branch 'main'
# Conflicts:
#	src/DotRecast.Detour.Crowd/DtObstacleAvoidanceQuery.cs
#	src/DotRecast.Detour/DtBVNode.cs
#	src/DotRecast.Detour/DtNavMesh.cs
#	src/DotRecast.Detour/DtNavMeshQuery.cs
#	src/DotRecast.Detour/DtPoly.cs
#	src/DotRecast.Detour/DtPolyDetail.cs
#	src/DotRecast.Recast.Toolset/RcNavMeshBuildSettings.cs
#	test/DotRecast.Core.Test/RcRentedArrayTest.cs
2024-11-11 11:09:29 +03:00
ikpil fba594724c Silk.NET" 2.22.0 2024-11-07 00:50:47 +09:00
Georgiy Sadovnikov 20a86b5bae fix getting normal vector from raycast 2024-11-05 16:22:24 +03:00
Семенов Иван c84fb0b11e Fixed: decrease offmesh connection trigger radius for crowd 2024-10-28 17:08:29 +03:00
Семенов Иван 4a1b430ee6 Added: allow set userId for offmesh connections 2024-10-25 14:51:32 +03:00
Семенов Иван 53aac60713 Fixed: tiles cache mesh process with off mesh links 2024-10-25 10:21:22 +03:00
ikpil 4ec36fb8b4 Serilog.Sinks.Async 2.1.0 2024-10-25 14:03:51 +09:00
ikpil 5de6e06a94 Serilog 4.1.0 2024-10-23 08:54:31 +09:00
ikpil 1bf2ff48f2 Changed bmin/bmax from float[] to RcVec2f for improved memory efficiency and readability 2024-10-13 16:41:25 +09:00
ikpil ea437ef020 Changed bmin/bmax from int[] to RcVec3i for improved memory efficiency 2024-10-13 16:30:52 +09:00
ikpil a225e32a5a Serilog.Settings.Configuration 8.0.4 2024-10-10 13:39:58 +09:00
ikpil e9ca704ab7 update Serilog.Settings.Configuration 8.0.3 2024-10-08 13:44:36 +09:00
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 f18bedb02d force utf-8 2024-09-05 22:57:28 +09:00
ikpil e73ec9acda runtime comment 2024-08-24 22:25:13 +09:00
Sarofc 997d3f1a9b draw agent option 2024-08-08 22:53:27 +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
Sarofc c036501879 opt UpdateMoveRequest UpdateTopologyOptimization
# Conflicts:
#	src/DotRecast.Detour.Crowd/DtCrowd.cs

Benchmark

b3

b4
2024-08-03 13:24:42 +09:00
Sarofc ab04256cdf Update ModernOpenGLDraw.cs
(cherry picked from commit 6fb44cc3ce47be2c724d6093ef4b3168aacf9480)
2024-07-26 22:27:24 +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