public SearchBlock(SearchPointData data) { Data = data; Indices = new List <int>(); InvestigatedIndices = new List <int>(); Center = Vector3.zero; Sum = Vector3.zero; Index = 0; }
public void WriteTo(SearchPointData other) { other.Points.Clear(); for (int i = 0; i < Points.Count; i++) { other.Points.Add(Points[i]); } }
public SearchBlockCache(SearchPointData points) { _points = points; }