public static IEnumerable <IVoxel> GetRangeCircle(this IVoxel center, int radius)
 {
     return(center.GetRange(radius).Where(v => center.GetOffset(v).GetLength() <= radius));
 }
Пример #2
0
 public IEnumerable <IVoxelHandle> GetRange(int radius)
 {
     return(currentVoxel.GetRange(radius).Cast <IVoxelHandle>());
 }