diff --git a/src/client/content_mapblock.cpp b/src/client/content_mapblock.cpp index 407093b83..ce64f5d7f 100644 --- a/src/client/content_mapblock.cpp +++ b/src/client/content_mapblock.cpp @@ -208,30 +208,6 @@ static std::array setupCuboidVertices(const aabb3f &box, c case TileRotation::R270: tcoords.set(tcoords.Y, -tcoords.X); break; - case TileRotation::FXR90: - tcoords.X = 1.0 - tcoords.X; - tcoords.set(-tcoords.Y, tcoords.X); - break; - case TileRotation::FXR270: - tcoords.X = 1.0 - tcoords.X; - tcoords.set(tcoords.Y, -tcoords.X); - break; - case TileRotation::FYR90: - tcoords.Y = 1.0 - tcoords.Y; - tcoords.set(-tcoords.Y, tcoords.X); - break; - case TileRotation::FYR270: - tcoords.Y = 1.0 - tcoords.Y; - tcoords.set(tcoords.Y, -tcoords.X); - break; - case TileRotation::FX: - tcoords.X = 1.0 - tcoords.X; - break; - case TileRotation::FY: - tcoords.Y = 1.0 - tcoords.Y; - break; - default: - break; } } } diff --git a/src/client/tile.h b/src/client/tile.h index 65129baef..e26093f2c 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -300,12 +300,6 @@ enum class TileRotation: u8 { R90, R180, R270, - FXR90, - FXR270, - FYR90, - FYR270, - FX, - FY, }; /*!