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