// Set/Cell public void SetCell(Pointer pnt, VoxelCell cell) { Cells[pnt.X, pnt.Y] = cell; }
// Change/Cell public bool ChangeCell(Pointer pnt, VoxelCell cell) { return(ChangeValue(ref Cells[pnt.X, pnt.Y], cell)); }
public VoxelMap(int width, int height) { Cells = new VoxelCell[width, height]; (Width, Height, Area) = (width, height, width *height); }