Commit Graph

54 Commits

Author SHA1 Message Date
wrenge 1fa0320845 precache collections 2024-11-13 13:55:02 +03:00
wrenge 5c0ba9dba1 Reuse grid instead of creating new 2024-11-13 13:14:32 +03: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 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 e5d5867c56 rename RcVecUtils to RcVec 2024-06-25 00:02:59 +09:00
ikpil b18845a749 Removed RcVecUtils.Scale() 2024-06-07 21:31:11 +09:00
ikpil 34d2ef639a update `DotRecast Copyright (c) 2023-2024 Choi Ikpil ikpil@naver.com` 2024-05-25 22:42:57 +09:00
ikpil 99224251dc Changed `List<DtStraightPath>` to `Span<DtStraightPath>` for enhanced memory efficiency 2024-05-23 21:19:16 +09:00
ikpil cfdcc1336c preparatory work to resolve the SOH issue during path merging. 2024-05-08 00:25:32 +09:00
ikpil 7836b78bb4 added DtCrowdConst.MAX_PATH_RESULT = 256 2024-02-23 00:52:23 +09:00
wreng fa837a84ed Replaced foreach with for to avoid enumerator allocations 2024-02-22 00:20:54 +09:00
ikpil 804cb275a7 Added struct DtCrowdScopedTimer to avoid allocations in scoped timer calls @wrenge
- https://github.com/ikpil/DotRecast/pull/54
2024-02-20 01:10:54 +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 41ab26c03f rename _ext to _agentPlacementHalfExtents in DtCrowd 2024-02-15 00:36:58 +09:00
ikpil 742b7f7db8 reposition DT_CROWDAGENT_MAX_NEIGHBOURS, DT_CROWDAGENT_MAX_CORNERS 2024-02-15 00:25:55 +09:00
ikpil 41df518a08 fix: SOH issue step1 (#41)
- https://github.com/ikpil/DotRecast/issues/41
2024-01-30 00:40:20 +09:00
ikpil 69c8c950d2 refactor: add type-safe array copy function 2023-11-11 13:08: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 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 8d5b4c0c95 refactor: preparing for switching build with System.Numerics.Vector3 2023-10-19 00:07:50 +09:00
ikpil 0368afea23 refactor: preparing for switching build with System.Numerics.Vector3 2023-10-18 23:52:47 +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 7965af390e refactor: Change 'xyz' to uppercase in preparation for switching to System.Numeric.Vector3 2023-10-12 23:04:29 +09:00
ikpil 3df6036ebb refactor: typo 2023-10-11 23:31:15 +09:00
ikpil 2169a18c85 refactor: DtCrowdAgentUpdateFlags 2023-10-08 14:45:20 +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 3ff14834f0 rename in DotRecast.Detour.Dynamic 2023-09-16 12:49:58 +09:00
ikpil 95af26e884 Crowd Sample Tool Model + View 2023-09-09 23:20:47 +09:00
D.최익필 da8bac596a [Upstream] Typo fixes (recastnavigation #660) 2023-08-18 14:04:56 +09:00
ikpil 94e1922e02 rename for unity3d 2023-08-04 22:53:54 +09:00
ikpil 74cbb2ee29 add DtCrowdTimerLabel 2023-08-04 00:17:51 +09:00
ikpil 71838af06c rename DetourCommon to DtUtils 2023-07-31 10:34:20 +09:00
ikpil 04fd0abea0 change public api in StraightPathItem 2023-07-26 00:03:48 +09:00
ikpil a57b8f26d6 typo 2023-07-23 17:28:52 +09:00
ikpil 078bf53c15 added ScopeTimer 2023-07-22 19:00:12 +09:00
ikpil 9d29d1f6c0 remove Tuple.Create 2023-06-30 21:56:30 +09:00
ikpil a2d2519daa reuse neis 2023-06-27 00:06:07 +09:00
ikpil 1d7c329f23 remove Detour.QueryResults.Result 2023-06-23 07:54:28 +09:00
ikpil d38cddfbc6 changed UpdateSlicedFindPath 2023-06-20 22:41:51 +09:00
ikpil 9c42e58e86 change FindCorners 2023-06-20 01:36:03 +09:00
ikpil 36ad2e1498 remove FindNearestPolyResult ok 2023-06-11 13:41:37 +09:00
ikpil 64315ca56e remove FindNearestPolyResult 1st 2023-06-11 13:28:05 +09:00
ikpil 6271dc71d9 remove FindRandomPointResult 1st 2023-06-10 21:57:39 +09:00