namespace Quadtree
{
internal struct QuadtreeVertex
{
///
/// The index of the first child vertex of this vertex if it is a branch, or the index of its first item if it
/// is a leaf.
///
public int FirstChildIndex;
///
/// The number of child items of this vertex if it is a leaf, or -1 if it is a branch.
///
public int ChildCount;
public QuadtreeVertex(int firstChildIndex, int childCount)
{
FirstChildIndex = firstChildIndex;
ChildCount = childCount;
}
}
}