public Enumerator(MyIntervalList parent)
 {
     m_interval = -1;
     m_dist = 0;
     m_lowerBound = 0;
     m_upperBound = 0;
     m_parent = parent;
 }
示例#2
0
 public Enumerator(MyIntervalList parent)
 {
     m_interval   = -1;
     m_dist       = 0;
     m_lowerBound = 0;
     m_upperBound = 0;
     m_parent     = parent;
 }
示例#3
0
        public MyIntervalList GetCopy()
        {
            var copy = new MyIntervalList(m_list.Count);

            for (int i = 0; i < m_list.Count; ++i)
            {
                copy.m_list.Add(m_list[i]);
            }
            copy.m_count = m_count;

            return(copy);
        }
        public MyVoxelHighLevelHelper(MyVoxelNavigationMesh mesh)
        {
            m_mesh = mesh;
            m_triangleList = new MyIntervalList();

            m_triangleLists = new Dictionary<ulong, MyIntervalList>();
            m_exploredCells = new MyVector3ISet();
            m_navmeshComponents = new MyNavmeshComponents();

            m_currentCellConnections = new List<List<ConnectionInfo>>();
            for (int i = 0; i < 8; ++i)
            {
                m_currentCellConnections.Add(new List<ConnectionInfo>());
            }
        }
        public MyIntervalList GetCopy()
        {
            var copy = new MyIntervalList(m_list.Count);

            for (int i = 0; i < m_list.Count; ++i)
            {
                copy.m_list.Add(m_list[i]);
            }
            copy.m_count = m_count;

            return copy;
        }