17 lines
354 B
C#
17 lines
354 B
C#
namespace SpatialCollections
|
|
{
|
|
internal struct QuadtreeItem<T>(T entity, int next)
|
|
{
|
|
/// <summary>
|
|
/// Index of the next item in the same leaf vertex.
|
|
/// </summary>
|
|
public int Next = next;
|
|
|
|
public T Entity = entity;
|
|
|
|
public QuadtreeItem(T entity) : this(entity, -1)
|
|
{
|
|
}
|
|
}
|
|
}
|