예제 #1
0
 public VolumeChunk(VolumeSize size, Vector3i position)
 {
     _size    = size;
     Position = position;
     _data    = new T[_size.SideLengthCubed];
 }
예제 #2
0
 public VolumeDictionary(VolumeSize size)
 {
     _data = new Dictionary <Vector3i, VolumeChunk <T> >();
     _size = size;
 }