Skip to content

Releases: ikpil/DotRecast

2024.4.1

19 Nov 15:05
Compare
Choose a tag to compare

[2024.4.1] - 2024-11-19

Added

Fixed

Changed

  • Changed data structure of 'neis' from List to byte[] for optimized memory usage and improved access speed in DtLayerMonotoneRegion
  • Changed new RcVec3f[3] to stackalloc RcVec3f[3] in DtNavMesh.GetPolyHeight() to reduce heap allocation
  • Changed memory handling to use stackalloc in DtNavMeshQuery.GetPolyWallSegments for reducing SOH
  • Changed DtNavMeshQuery.GetPolyWallSegments() to use Span for enhanced performance, memory efficiency.
  • Changed bmin/bmax from int[] to RcVec3i for improved memory efficiency

Removed

  • Nothing

Special Thanks

Full Changelog: 2024.3.1...2024.4.1

2024.3.1

08 Jul 15:12
Compare
Choose a tag to compare

[2024.3.1] - 2024-07-09

Added

  • Nothing

Fixed

  • Fixed bug where the dynamic voxel save file browser doesn't appear in Recast.Demo

Changed

  • Changed to reuse samples and edges list in BuildPolyDetail()
  • Changed heights, areas, cons, and regs arrays to byte arrays for uniformity and efficiency in DtTileCacheLayer
  • Changed reg, area arrays to byte arrays for uniformity and efficiency in DtTileCacheContour
  • Changed RcChunkyTriMesh to separate the function and variable.
  • Changed to consolidate vector-related functions into one place.
  • Changed stack handling from List to a fixed-size array with manual index management for optimization in RcLayers.BuildHeightfieldLayers()
  • Changed to use Span and stackalloc for improved performance and memory management in RcLayers.BuildHeightfieldLayers()
  • Changed vertCount and triCount to byte in DtPolyDetail
  • Changed new float[] to stackalloc float[] in DtConvexConvexIntersections.Intersect()
  • Changed agents management from list to dictionary in DtCrowd
  • Changed to efficiently stack nearby DtCrowdAgents in DtCrowd.GetNeighbours()
  • Changed to limit neighbor search to a maximum count and use array for memory efficiency in DtCrowd.AddNeighbour()

Removed

  • Removed RcMeshDetails.VdistSq2(float[], float[])
  • Removed RcVecUtils.Dot()
  • Removed RcVecUtils.Scale()
  • Removed RcVecUtils.Subtract(RcVec3f i, float[] verts, int j)
  • Removed RcVecUtils.Subtract(float[] verts, int i, int j)
  • Removed RcVecUtils.Min(), RcVecUtils.Max()
  • Removed RcVecUtils.Create(float[] values)
  • Removed RcVecUtils.Dot2D(this RcVec3f this, Span v, int vi)

Special Thanks

Full Changelog: 2024.2.3...2024.3.1

2024.2.3

03 Jun 14:34
Compare
Choose a tag to compare

[2024.2.3] - 2024-06-03

Added

  • Added DtCollectPolysQuery and FindCollectPolyTest

Fixed

  • Nothing

Changed

  • Changed IDtPolyQuery interface to make Process() more versatile
  • Changed PolyQueryInvoker to DtActionPolyQuery
  • Changed DtTileCacheBuilder to a static class
  • Changed DtTileCacheLayerHeaderReader to a static class
  • Changed Dictionary<int, List<DtMeshTile>> to DtMeshTile[] to optimize memory usage
  • Changed MAX_STEER_POINTS from class constant to local.
  • Changed List<DtStraightPath> to Span<DtStraightPath> for enhanced memory efficiency
  • Changed DtWriter to a static class and renamed it to RcIO
  • Changed class Trajectory to interface ITrajectory

Removed

  • Nothing

Special Thanks

PR

  • Changed List<DtStraightPath> to Span<DtStraightPath> for enhanced… (#70) @ikpil
  • Changed Dictionary<int, List<DtMeshTile>> to DtMeshTile[] to opti… (#69) @ikpil
  • Changed IDtPolyQuery interface to make Process() more versatile (#68) @ikpil

Full Changelog: 2024.2.2...2024.2.3

2024.2.2

18 May 00:23
Compare
Choose a tag to compare

[2024.2.2] - 2024-05-18

Added

  • Added RcSpans UnitTest

Changed

  • Changed class name of static functions to RcRecast and DtDetour
  • Changed DtLink class member variable type from int to byte
  • Changed initialization in DtNavMesh constructor to Init() function.

Special Thanks

PR

  • Pr/index to first link in linked list v2 (#67) @ikpil

Full Changelog: 2024.2.1...2024.2.2

2024.2.1

04 May 01:03
Compare
Choose a tag to compare

[2024.2.1] - 2024-05-04

Added

  • Added RcCircularBuffer @ikpil
  • Added struct DtCrowdScopedTimer to avoid allocations in scoped timer calls. @wrenge
  • Added struct RcScopedTimer to avoid allocations in RcContext scoped timer @ikpil
  • Added RcSpans @ikpil

Fixed

  • SOH issue #14
  • Optimization: reduce number of allocations on hot path. @awgil

Changed

  • Changed DtPathCorridor.Init(int maxPath) function to allow setting the maximum path @ikpil
  • Changed from List to RcCyclicBuffer in DtCrowdTelemetry execution timing sampling @wrenge
  • RcCyclicBuffer optimizations @wrenge

Removed

Special Thanks

PR

  • Optimization: reduce number of allocations on hot path in RcRasterizations.DividePoly (#62) @awgil
  • SIMD for CyclicBuffer aggregation (#58) @wrenge
  • CyclicBuffer optimizations (#55) @wrenge
  • Avoid allocation in ScopedTimer call (#54) @wrenge
  • Pr/fix telemetry memcpy (#53) @ikpil

Full Changelog: 2024.1.3...2024.2.1

2024.1.3

13 Feb 04:55
Compare
Choose a tag to compare

[2024.1.3] - 2024-02-13

Added

  • Added DtNodeQueue UnitTest @ikpil
  • Added RcSortedQueue UnitTest @ikpil
  • Added IComparable interface to RcAtomicLong @ikpil
  • Added Menu bar in Demo @ikpil

Changed

  • Update Microsoft.NET.Test.Sdk 17.8.0 to 17.9.0
  • Enhanced ToString method of DtNode to provide more detailed information.
  • Reuse DtNode in DtNodePool

Special Thanks

Full Changelog: 2024.1.2...2024.1.3

2024.1.2

04 Feb 04:38
Compare
Choose a tag to compare

[2024.1.2] - 2024-02-04

Added

  • Added DtNodePool tests @ikpil
  • Added WangHash() for DtNodePool @ikpil
  • Added avg, min, max, sampling updated times in CrowdAgentProfilingTool @ikpil

Fixed

  • Fixed SOH issue in DtNavMeshQuery.Raycast @ikpil
  • Fixed SOH issue in DtProximityGrid.QueryItems @ikpil

Changed

  • Upgrade NUnit.Analyzers 4.0.1

Removed

Special Thanks

2024.1.1

04 Jan 15:44
Compare
Choose a tag to compare

What's Changed

  • [Upstream] Cleanup filter code and improved documentation (https://gi… (#30) @ikpil
  • Code cleanup and small optimizations in RecastFilter.cpp rcFilterLedg… (#29) @ikpil
  • feat - Added UI scaling feature based on monitor resolution in Demo (#28) @ikpil
  • Fix typo (#25) @c0nd3v
  • Fix updated struct version (#23) @c0nd3v
  • Allow Radius 0 in Demo (#22) @c0nd3v
  • [Upstream] Make detail mesh edge detection more robust (recastnavigat… (#26) @ikpil
  • [Upstream] 248275e - Fix: typo error (#153) (#21) @ikpil

Full Changelog: 2023.11.1...2024.1.1

2023.11.1

20 Nov 14:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2023.10.7...2023.11.1

2023.10.7

28 Oct 05:02
Compare
Choose a tag to compare

What's Changed

  • Support .net 6.0

Full Changelog: 2023.10.6...2023.10.7