Drop unused tile rotations

This commit is contained in:
numzero 2023-03-02 15:27:46 +03:00 committed by sfan5
parent 1102f92dac
commit 7c26cb1c35
2 changed files with 0 additions and 30 deletions

@ -208,30 +208,6 @@ static std::array<video::S3DVertex, 24> 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;
}
}
}

@ -300,12 +300,6 @@ enum class TileRotation: u8 {
R90,
R180,
R270,
FXR90,
FXR270,
FYR90,
FYR270,
FX,
FY,
};
/*!