/// <summary> /// Initializes a new instance of the <see cref="T:Voxalis.Toolkit.Voxels.VoxelBuffer"/> class. /// </summary> /// <param name="rows">Rows.</param> public VoxelBuffer(Vector3i rows) { Rows = rows; Voxels = Rows.ToArray3 <IVoxel>(); }