- Compatibility with
Unity.Collections@v2
.
NativeStackedLists<T>
added. It can be used as an alternative for nested collections.
(ReadOnly)Span
extensions forUnity.Collections
.
NativePointQuadtree
added. Implemented quadtree supports for AABB range query.Reinterpret<T>
andElementAt
methods forNativeIndexedArray<T>
added.Ref<T>
class added. It is handy for using with native collections.
- A small bounding volume structs
AABB
andMBC
refactor. - A few code style fixes.
NativeArray2d<T>
added. Wrapper for two-dimensionalNativeArray<T>
. Support for reading rows in parallel jobs.Native2dTree
added. Currently, only AABB Range query is implemented, NN and k-NN search are TODO.NativeBoundingVolumeTree<AABB>
tree vs. tree intersections implementation using queue. The result is stored inNativeList<int2>
.
- Renaming
BoundingVolumeTree<T>
intoNativeBoundingVolumeTree<T>
. Old class is still available, but is marked with Obsolete attribute. Additionally fix some minor typoes in methods names and addsReadOnly
substruct.
Span<T>
andReadOnlySpan<T>
support for Native Indexed Collections added.- Debug View for
NativeIndexedArray
,NativeIndexedList
, andNativeStack
added.
IdEnumerator<Id>
andIdValueEnumerator<Id, T>
added.- Unity version update: 2021.2.5f1.
Id<T>
added.NativeIndexedArray<Id, T>
added.NativeIndexedList<Id, T>
added.NativeAccumulatedProduct<T, Op>
added.IAbelianOperator
and basic implementations added.
NativeStack<T>
added.BoundingVolumeTree<T>
added.