public static bool __CompilerHint1__Diamond__UVCell() { var grid = new DiamondGrid<UVCell[]>(1, 1); foreach(var point in grid) { grid[point] = new UVCell[1]; } var shapeStorageInfo = new ShapeStorageInfo<DiamondPoint>(new IntRect(), p => true); var shapeInfo = new DiamondShapeInfo<UVCell>(shapeStorageInfo); return grid[grid.First()][0] == null || shapeInfo.Translate(DiamondPoint.Zero) != null; }
public static bool __CompilerHint__Line__UVCell() { var grid = new LineGrid <UVCell[]>(1, 1); foreach (var point in grid) { grid[point] = new UVCell[1]; } var shapeStorageInfo = new ShapeStorageInfo <LinePoint>(new IntRect(), p => true); var shapeInfo = new LineShapeInfo <UVCell>(shapeStorageInfo); return(grid[grid.First()][0] == null || shapeInfo.Translate(LinePoint.Zero) != null); }
public static bool __CompilerHint__Cairo__UVCell() { var grid1 = new PointyHexGrid <UVCell[]>(1, 1); foreach (var point in grid1) { grid1[point] = new UVCell[1]; } var grid2 = new CairoGrid <UVCell>(1, 1); foreach (var point in grid2) { grid2[point] = null; } var shapeStorageInfo = new ShapeStorageInfo <CairoPoint>(new IntRect(), p => true); var shapeInfo = new CairoShapeInfo <UVCell>(shapeStorageInfo); return(grid1[grid1.First()][0] == null || grid2[grid2.First()] == null || shapeInfo.IncIndex(0) != null); }
public static bool __CompilerHint__Cairo__UVCell() { var grid1 = new PointyHexGrid<UVCell[]>(1, 1); foreach(var point in grid1) { grid1[point] = new UVCell[1]; } var grid2 = new CairoGrid<UVCell>(1, 1); foreach(var point in grid2) { grid2[point] = null; } var shapeStorageInfo = new ShapeStorageInfo<CairoPoint>(new IntRect(), p => true); var shapeInfo = new CairoShapeInfo<UVCell>(shapeStorageInfo); return grid1[grid1.First()][0] == null || grid2[grid2.First()] == null || shapeInfo.IncIndex(0) != null; }