X is mirrored...

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle 2023-03-13 22:06:41 -07:00
parent b36ccbef19
commit 553ea3e5f3
No known key found for this signature in database
GPG Key ID: F674F38216C35D5D
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ public class MappingsReader_v1 extends MappingsReader {
float offsetY = (float) boundingBox.getSizeY() * 8;
float offsetZ = (float) boundingBox.getSizeZ() * 8;
float bottomCornerX = (float) boundingBox.getMiddleX() * 16 - 8 - offsetX;
float bottomCornerX = (float) Math.abs(boundingBox.getMiddleX() - 1) * 16 - 8 - offsetX;
float bottomCornerY = (float) boundingBox.getMiddleY() * 16 - offsetY;
float bottomCornerZ = (float) boundingBox.getMiddleZ() * 16 - 8 - offsetZ;