Commit Graph

586 Commits

Author SHA1 Message Date
c0nd3v e782208faa Allow Radius 0 in Demo
Recast C++ demo allows radius 0 and I have a use case for it. I think it should be allowed
2023-12-23 11:04:28 +09:00
ikpil 6474f234a3 [Upstream] Make detail mesh edge detection more robust (recastnavigation #657)
- https://github.com/recastnavigation/recastnavigation/pull/657

Instead of using a distance check which can fail at large magnitudes due
to low precision we can check whether the edges are actually on the
hull.
2023-12-22 22:21:57 +09:00
ikpil fa8369f209 upgrade Silk.NET 2.19.0 -> 2.20.0 2023-12-13 23:37:07 +09:00
ikpil 19f5b05d6a fix: 'RANDOM_POINTS_IN_CIRCLE' mode where random points accumulate in RecastDemo 2023-12-06 00:52:09 +09:00
ikpil b24d6492a8 typo 2023-12-06 00:47:05 +09:00
ikpil d7676913d7 upgrade: Serilog.Sinks.Console 5.0.0 -> 5.0.1 2023-11-29 14:07:01 +09:00
ikpil 9c6ddfffe0 [Upstream] 248275e - Fix: typo error (#153)
- 248275e07f
2023-11-29 00:03:59 +09:00
Ikpil 7e472fae55
Pr/support net8 (#20)
* support net8
2023-11-16 14:05:19 +09:00
ikpil 43abc7d1e3 upgrade: silk.net 2.17.1 -> 2.19.0 2023-11-15 14:08:39 +09:00
ikpil cd509ad010 typo 2023-11-13 23:35:53 +09:00
ikpil 4c29fa0686 [Upstream] fix:rcBuildLayerRegions missing areaType (#470)
- ddaa361b08

It's already been modified, just align the code.
2023-11-13 23:35:43 +09:00
ikpil 8fcd8b5006 typo 2023-11-12 17:11:20 +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 195c684fb2 upgrade: serilog 3.1.0 -> 3.1.1 2023-11-10 22:04:52 +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 afabec2b7d upgrade: nuget 2023-11-09 22:11:35 +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 bb2041e253 refactor: added RcCompactSpanBuilder 2023-11-07 22:28:14 +09:00
ikpil 5aa482d35e refactor: readonly struct 2023-11-07 22:12:42 +09:00
ikpil 5b2e9591c2 refactor: use ref readonly RcCompactCell c = ref ... 2023-11-02 00:11:54 +09:00
ikpil 8f91328fd9 fix: fix bug where obstacle tile cache rebuild wasn't being reflected.
- https://github.com/ikpil/DotRecast/issues/14
2023-10-31 23:29:58 +09:00
ikpil 2245f70fcf refactor: revert this part due to a mix of C# and C++ style in array and interface usage 2023-10-31 23:06:42 +09:00
Gabriel Alexandre 99cbba7586 Migrated some small types to structs 2023-10-30 23:40:46 +09:00
ikpil ca019c19b3 refactor: support netstandard2.1 vector3 2023-10-28 13:39:05 +09:00
ikpil 0924b82f62 refactor: support .netstandard2.1 vector3 2023-10-28 13:22:02 +09:00
ikpil ffdbdb7ed8 refactor: support netstandard2.1 vector3 2023-10-28 13:04:06 +09:00
ikpil 26309e79f8 refactor: support net6.0 2023-10-28 12:30:49 +09:00
ikpil 5176ee036a refactor: support .netstandard2.1 vector3 2023-10-28 12:08:17 +09:00
ikpil 2e7a75624c refactor: vector3 2023-10-27 23:52:55 +09:00
ikpil 21b3cd6caa refactor: RcVec3f.Lerp 2023-10-27 00:03:03 +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 182c230c10 refactor: Math.Tan -> MatF.Tan 2023-10-25 00:17:20 +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 ef8ef94826 refactor: TestVectorDot 2023-10-24 23:33:24 +09:00
ikpil 617eaa1287 refactor: RcVec3f.Distance 2023-10-24 00:20:42 +09:00
ikpil 0d805b5d07 refactor: RcVec3f.Copy -> RcVecUtils.Copy 2023-10-23 23:11:47 +09:00
ikpil a9888bd281 refactor: added test RcVec3f.CopyTo 2023-10-23 22:51:09 +09:00
ikpil e4dc81b027 refactor: RcVector.Copy 2023-10-23 22:43:53 +09:00
ikpil f5194e63b2 RcVec3f.Add, Subtract now corresponds to System.Numerics.Vector3.Add, Subtract in the switching build. 2023-10-22 12:56:16 +09:00
ikpil cb4a7b37d7 refactor: RcVec3f.Cross now corresponds to System.Numerics.Vector3.Normalize in the switching build 2023-10-22 12:44:50 +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 33fa18cd0e refactor: move Dot2D function 2023-10-21 00:27:48 +09:00