@@ -189,14 +189,14 @@ default boolean blends(Tile tile, int rotation, int direction){
189
189
190
190
default boolean blendsArmored (Tile tile , int rotation , int otherx , int othery , int otherrot , Block otherblock ){
191
191
return Point2 .equals (tile .x + Geometry .d4 (rotation ).x , tile .y + Geometry .d4 (rotation ).y , otherx , othery )
192
- || ((!otherblock .rotatedOutput (otherx , othery ) && Edges .getFacingEdge (otherblock , otherx , othery , tile ) != null &&
192
+ || ((!otherblock .rotatedOutput (otherx , othery , tile ) && Edges .getFacingEdge (otherblock , otherx , othery , tile ) != null &&
193
193
Edges .getFacingEdge (otherblock , otherx , othery , tile ).relativeTo (tile ) == rotation ) ||
194
- (otherblock .rotatedOutput (otherx , othery ) && Point2 .equals (otherx + Geometry .d4 (otherrot ).x , othery + Geometry .d4 (otherrot ).y , tile .x , tile .y )));
194
+ (otherblock .rotatedOutput (otherx , othery , tile ) && Point2 .equals (otherx + Geometry .d4 (otherrot ).x , othery + Geometry .d4 (otherrot ).y , tile .x , tile .y )));
195
195
}
196
196
197
197
/** @return whether this other block is *not* looking at this one. */
198
198
default boolean notLookingAt (Tile tile , int rotation , int otherx , int othery , int otherrot , Block otherblock ){
199
- return !(otherblock .rotatedOutput (otherx , othery ) && Point2 .equals (otherx + Geometry .d4 (otherrot ).x , othery + Geometry .d4 (otherrot ).y , tile .x , tile .y ));
199
+ return !(otherblock .rotatedOutput (otherx , othery , tile ) && Point2 .equals (otherx + Geometry .d4 (otherrot ).x , othery + Geometry .d4 (otherrot ).y , tile .x , tile .y ));
200
200
}
201
201
202
202
/** @return whether this tile is looking at the other tile, or the other tile is looking at this one.
0 commit comments