Much better hinge handling

This commit is contained in:
dordsor21 2021-07-21 20:00:39 +01:00
parent 1ec927f30c
commit 1e49f59001
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -168,8 +168,7 @@ public class BlockTransformExtent extends ResettableExtent {
if (key == PropertyKey.SHAPE) {
return adapt(combine(EAST, WEST), combine(NORTH, SOUTH));
} else if (key == PropertyKey.HINGE) {
//TODO: hinges are slightly funky still
return adapt(combine(NORTH, EAST), combine(SOUTH, WEST));
return adapt(combine(NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST), combine(NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST));
}
}
if (key == PropertyKey.ROTATION) {