Exemplo n.º 1
0
        /// <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);
            }
        }