コード例 #1
0
ファイル: OctreeBranch.cs プロジェクト: Tamschi/MarsMiner
 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;
 }