コード例 #1
0
ファイル: Search.cs プロジェクト: 329258385/War-of-Free
 public SearchBlock(SearchPointData data)
 {
     Data                = data;
     Indices             = new List <int>();
     InvestigatedIndices = new List <int>();
     Center              = Vector3.zero;
     Sum   = Vector3.zero;
     Index = 0;
 }
コード例 #2
0
ファイル: Search.cs プロジェクト: 329258385/War-of-Free
        public void WriteTo(SearchPointData other)
        {
            other.Points.Clear();

            for (int i = 0; i < Points.Count; i++)
            {
                other.Points.Add(Points[i]);
            }
        }
コード例 #3
0
ファイル: Search.cs プロジェクト: 329258385/War-of-Free
 public SearchBlockCache(SearchPointData points)
 {
     _points = points;
 }