예제 #1
0
파일: Quantizer.cs 프로젝트: proxeeus/Spawn
        /// <summary>
        ///     Initializes a new instance of the <see cref="OctreeNode" /> class.
        /// </summary>
        public OctreeNode(int level, OctreeQuantizer parent)
        {
            _nodes = new OctreeNode[8];

            if (level < 7)
            {
                parent.AddLevelNode(level, this);
            }
        }