public void addVoxel(Color color, DynamicVoxel.VoxelType type) { //this.voxels.Add( new DynamicVoxel(color, currentPosition, type) ); }
public void addVoxel(DynamicVoxel voxel) { //if ((int)currentPosition.Z >= this.size.Z - 1 && (int)currentPosition.Y >= this.size.Y - 1 && (int)currentPosition.X >= this.size.X - 1) return; this.voxels.Add(voxel); }