Commit Graph

263 Commits

Author SHA1 Message Date
ikpil daf552b4b7 SOH - Span<float> verts = stackalloc float[m_maxVertPerPoly * 3];
https://github.com/ikpil/DotRecast/issues/41
2024-05-02 23:12:33 +09:00
ikpil 29fab9f5b2 soh-1 2024-04-30 00:13:52 +09:00
wrenge 897748285f Merge branch 'refs/heads/pr/fix-small-object-heap-issue'
# Conflicts:
#	src/DotRecast.Detour/DtNavMeshQuery.cs
2024-04-23 11:16:42 +03:00
wrenge 331e35ecbb Merge branch 'refs/heads/main' 2024-04-23 11:15:18 +03:00
wreng b67ebeaec3 Added stackalloc where it's acceptable 2024-03-06 01:12:11 +09:00
wrenge d625e83fad Merge branch 'feature/unity-serialization-hack' 2024-02-27 17:22:32 +03:00
wrenge 838064f3b6 Serialization patch 2024-02-27 17:21:32 +03:00
wrenge 8ca008a5c3 Packaging for unity 2024-02-27 16:50:03 +03:00
ikpil 6a57c067ac fix: SOH issue(#41)
https://github.com/ikpil/DotRecast/issues/41#issuecomment-1908367226

array benchmark

benchmark array test step2

test

ss
2024-02-24 20:39:42 +09:00
ikpil b0644a70b7 fix : SOH issue (#41)
- https://github.com/ikpil/DotRecast/issues/41#issuecomment-1908359895
2024-02-24 20:38:01 +09:00
ikpil 2f2d68c29f fix: SOH issue step3 (#41)
- https://github.com/ikpil/DotRecast/issues/41
2024-02-24 20:38:01 +09:00
ikpil d8ae9f2297 fix: SOH issue (#41) 2024-02-24 20:38:00 +09:00
ikpil 3c4723c907 added npath in MergeCorridor functions 2024-02-23 01:02:23 +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 f0eb976ba0 change index -> ptr 2024-02-13 13:53:43 +09:00
ikpil b26847d90f change GetNodeMap to AsEnumerable in DtNodePool 2024-02-13 13:53:43 +09:00
ikpil 3ce4f59002 rese DtNode in DtNodePool 2024-02-13 13:53:43 +09:00
ikpil a65e5a3125 added DtNodeQueue unittest 2024-02-09 17:56:16 +09:00
ikpil 45e4426df6 Changed RcSortedQueue.Remove() function to use binary search 2024-02-08 00:03:06 +09:00
ikpil 9ef3c4ba30 replace comment 2024-02-06 00:50:06 +09:00
ikpil af72cf3cc8 replace comment in DtNode 2024-02-05 13:56:39 +09:00
ikpil 2d3ca5b321 added WangHash for DtNodePool 2024-02-04 13:24:26 +09:00
ikpil 6b033ab058 add release note url in nuget package 2024-02-03 22:53:17 +09:00
ikpil bf83597c1e added DtNodePool.GetNode, FindNode, FindNodes tests 2024-02-02 00:29:58 +09:00
ikpil c61c2ba875 update package description 2024-02-01 22:47:12 +09:00
ikpil dbb03988f5 fix: DtRaycastHit SOH issue reslove 2024-02-01 13:59:22 +09:00
ikpil aaff85b229 fix: Change DtRaycastHit class to struct to resolve SOH issue. step2 2024-02-01 13:59:22 +09:00
ikpil 5bba84883e clean up comments in DtRaycastHit 2024-01-31 00:13:23 +09:00
ikpil f51f2479ba update comments 2024-01-08 14:08:07 +09:00
ikpil 648d7bd703 update comments 2024-01-07 12:53:28 +09:00
ikpil 2d36b5f639 fixed null mesh data in tiles. 2023-12-31 17:12:45 +09:00
c0nd3v b1db6df033 Fix typo 2023-12-23 11:14:00 +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 056408fed2 typo 2023-11-09 22:36:00 +09:00
ikpil b9ec4391f2 refactor: class NavMeshSetHeader -> struct NavMeshSetHeader 2023-11-09 22:19:43 +09:00
ikpil 54b04947de refactor: class NavMeshTileHeader -> struct NavMeshTileHeader 2023-11-09 22:09:27 +09:00
ikpil ac3f667bcc refactor: readonly struct DtPolyDetail 2023-11-09 21:57:38 +09:00
ikpil 26309e79f8 refactor: support net6.0 2023-10-28 12:30:49 +09:00
ikpil 2e7a75624c refactor: vector3 2023-10-27 23:52:55 +09:00
ikpil 93b6b52b8f refactor RcVec3f.IsFinite 2023-10-27 00:01:52 +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 04fa38bb96 refactor: RcVecUtils.SafeNormalize 2023-10-24 23:46:45 +09:00
ikpil 3861b0a2c1 refactor: RcVec3f.Normalize now corresponds to System.Numerics.Vector3.Normalize in the switching build 2023-10-22 12:26:54 +09:00
ikpil 8d5b4c0c95 refactor: preparing for switching build with System.Numerics.Vector3 2023-10-19 00:07:50 +09:00
ikpil 3ab732e900 refactor: preparing for switching build with System.Numerics.Vector3 2023-10-19 00:03:18 +09:00
ikpil 5c2dd6b757 refactor: cleaning up the API to .net 8 Sytem.Numerics compatibility. 2023-10-18 00:08:28 +09:00
ikpil 587cebd32c feat: added DotRecast.Core.Collections namespace 2023-10-17 00:24:09 +09:00
ikpil cfcdf86f2d feat: change namespace RcVec2f, RcVec3f, RcMatrix4x4f for dotent 8 2023-10-16 23:55:34 +09:00
ikpil 30cbf7119b feat: multiple target frameworks 2023-10-14 19:46:55 +09:00
ikpil 5aac44c440 refactor: remove RcVec3f.Of(float[] f, int idx) 2023-10-14 19:30:33 +09:00
ikpil 19136129ab refactor: remve RcVec3f.Of(float[] f) 2023-10-13 00:04:46 +09:00
ikpil 228bdc9e4d refactor: remove RcVec3f.Of(x,y,z) 2023-10-12 23:52:32 +09:00
ikpil 7965af390e refactor: Change 'xyz' to uppercase in preparation for switching to System.Numeric.Vector3 2023-10-12 23:04:29 +09:00
ikpil 26387de859 refactor: Move constants from class DtNavMesh to class DtDetailTriEdgeFlags
- moved constraints DT_DETAIL_EDGE_BOUNDARY
2023-10-10 23:47:20 +09:00
ikpil 6416374f94 refactor: DtNodeFlags 2023-10-08 14:40:07 +09:00
ikpil 78d4591c3c refactor: DtPolyTypes 2023-10-08 14:32:13 +09:00
ikpil 31734246b6 refactor: DtFindPathOptions, DtRaycastOptions 2023-10-08 14:28:56 +09:00
ikpil 533afe49e2 refactor: flags 2023-10-08 14:23:58 +09:00
ikpil 34f38fc874 refactoring: typo 2023-10-05 23:35:18 +09:00
ikpil e02e097577 refactoring: prefix Dt 2023-10-05 00:11:58 +09:00
ikpil 57571865fe feat: ready nuget!! 2023-10-03 15:56:56 +09:00
ikpil 707d91afea refactor: clamp 2023-09-23 07:38:46 +09:00
ikpil a46aa0eaee refactor: math 2023-09-23 07:30:47 +09:00
ikpil 8b4a280958 support ToList() at RcSortedQueue 2023-09-06 12:17:38 +09:00
ikpil a331b3e861 for unity3d 2023-09-03 16:51:41 +09:00
ikpil a94965ac40 typo 2023-08-19 16:13:37 +09:00
ikpil b7a160b93a typo 2023-08-19 15:45:05 +09:00
ikpil 262a101921 typo 2023-08-19 14:54:36 +09:00
D.최익필 da8bac596a [Upstream] Typo fixes (recastnavigation #660) 2023-08-18 14:04:56 +09:00
ikpil e819b20373 add .editorconfig 2023-08-17 23:28:00 +09:00
ikpil 89f4e73abf shared filter 2023-08-16 23:49:43 +09:00
ikpil e8e64ea351 class to struct DtNavMeshParams, DtTileCacheSetHeader, DtTileCacheParam 2023-08-15 12:18:28 +09:00
ikpil 1104e2276e add RcImmutableArray for unity3d 2023-08-05 10:27:10 +09:00
ikpil b384133553 add shared comparer 2023-08-05 08:42:21 +09:00
ikpil eb077a4e6d rename for unity3d 2023-08-05 08:31:43 +09:00
ikpil cab865f747 rename for unity3d 2023-08-04 22:59:52 +09:00
ikpil dab3a9e020 remove nullable float in GetPolyHeight 2023-08-02 23:43:56 +09:00
ikpil 974b2480dd remove NavMeshUtils 2023-08-01 23:59:45 +09:00
ikpil 912b9e27fb remove nullable float in DtNavMeshRaycast.Raycast, RcPolyMeshRaycast.Raycast 2023-08-01 23:32:28 +09:00
ikpil 783ef97173 rename for unity3d 2023-07-31 15:38:53 +09:00
ikpil 123640627a remove nullable float at DtUtils.ClosestHeightPointTriangle 2023-07-31 10:38:14 +09:00
ikpil 71838af06c rename DetourCommon to DtUtils 2023-07-31 10:34:20 +09:00
ikpil 0614c040ba remove nullable float in IntersectSegmentTriangle 2023-07-30 11:27:10 +09:00
ikpil 5b16338447 added check tile building 2023-07-30 10:36:02 +09:00
ikpil e6e17d83a2 typo 2023-07-27 14:19:31 +09:00
ikpil 061c4469ed class StraightPathItem -> readonly struct StraightPathItem 2023-07-26 00:14:34 +09:00
ikpil 04fd0abea0 change public api in StraightPathItem 2023-07-26 00:03:48 +09:00
ikpil 336ba6b132 remove class SteerTarget 2023-07-25 23:59:51 +09:00
ikpil f78b377d26 Fix typo in dtPoly member documentation (recastnavigation #649) 2023-07-25 15:30:36 +09:00
ikpil 2efa16eee7 [Upstream] Fix typo (recast4j fixes #150) 2023-07-21 14:37:53 +09:00
ikpil 971e07fde4 [Upstream] Performance optimizations based on discussion by recast4j #149 2023-07-21 14:35:45 +09:00
ikpil 9a4ed56eed remove interectResult class 2023-07-20 23:44:06 +09:00
ikpil 6dbd22ecb7 change name RcSegmentVert for unity3d 2023-07-17 23:24:28 +09:00
ikpil 5588f6f17b bugfix crash 2023-07-16 16:14:44 +09:00