예제 #1
0
        /// <summary>
        /// Split a quadnode and create the appropriate metadata
        /// </summary>
        /// <param name="parent"></param>
        private void Split(QuadNode <ChunkData> parent)
        {
            parent.Subdivide();

            GenerateChunkdata(parent[Quadrant.NorthEast]);
            GenerateChunkdata(parent[Quadrant.NorthWest]);
            GenerateChunkdata(parent[Quadrant.SouthEast]);
            GenerateChunkdata(parent[Quadrant.SouthWest]);
        }
예제 #2
0
        /// <summary>
        /// Split a quadnode and create the appropriate metadata
        /// </summary>
        /// <param name="parent"></param>
        private void Split(QuadNode <ChunkData> parent)
        {
            parent.Subdivide();

            GenerateChildChunkdata(parent);
        }