This package contains essentials needed to develop DOTS projects. It is built to be used as an extension for existing Unity builtin packages (etc. SIMD mathematics, Collections, Jobs and Burst compiler).
Dots Plus v1.8.1 (03 Aug 2023) (Latest version)
“Sharing is caring”
Description
This package contains essentials needed to develop DOTS projects. It is built to be used as an extension for existing Unity builtin packages (etc. SIMD mathematics, Collections, Jobs and Burst compiler).
Library is developed to fit well with Unity DOTS standards. This includes performance by default, simplicity and most importantly, readability of the code. Driven to take the best HPC# can offer.
Current API selection comes from what I personally needed during Unity DOTS project development (For more details check Technical details section). This package expected to grow based on the users request. Final goal is to have a library that would make every DOTS developer’s life easier (etc. C++ Boost).
Support Discord, Forums, Documentation
Dependencies
Tested with Unity 2020.3
Package com.unity.mathematics
Package com.unity.collections
Package com.unity.burst
Technical details
Collections
– NativeLinkedList/UnsafeLinkedList
– NativePriorityQueue/UnsafePriorityQueue
– NativeKdTree/UnsafeKdTree
Geometry 2D
– Circle
– Rectangle
– Line
– Ray (etc. intersections)
– ConvexPolyon (etc. area, centroid, check)
– Inscribed Circle
– Circumscribed Circle
– Overlap, Distance operations between shapes.
Voronoi
Geometry 3D
– Triangles
– Surfaces
– Ray
Math 2D
– angle <-> direction, perpendicular direction
– barycentrics
– fast 1/sqrt(x)
– Samples
– Documentation




