/// <summary> /// /// </summary> public Octant(Octant <T> parent, Bounds3 bounds) { Bounds = bounds; Influence = Bounds3.FromCenter(bounds.Center, bounds.Size * 3); }
public Octree(Vector3 center, float side) { Bounds = Bounds3.FromCenter(center, new Vector3(side)); Root = new Octant <T>(null, Bounds); }