示例#1
0
 internal OctreeBranch(OctreeBranch <T> parent, T oldValue)
     : base(parent)
 {
     myChildren = new OctreeNode <T>[]
     {
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue),
         new OctreeLeaf <T>(this, oldValue)
     };
 }
示例#2
0
 internal OctreeNode(OctreeBranch <T> parent)
 {
     Parent = parent;
 }