예제 #1
0
 public PointyTriGrid(int width, int height, Func <PointyTriPoint, bool> isInside, FlatHexPoint offset) :
     this(width, height, isInside, x => x.Translate(offset), x => x.Translate(offset.Negate()))
 {
 }
예제 #2
0
 public FlatHexPoint MoveBackBy(FlatHexPoint translation)
 {
     return(Translate(translation.Negate()));
 }