Do not rotate kSegmentsAll

Rotating kSegmentsAll is unnecessary (the result always being the same as the input), so save a few cycles by not bothering.
This commit is contained in:
Michael Steenbeek authored and GitHub committed 2024-08-04 21:53:50 +02:00
1 parent 465f62fbc9
commit 069002641e
2 files changed
+337 -337

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -450,7 +450,7 @@ static void PaintVirginiaReelTrackLeftQuarterTurn3Tiles(
case 3:
WoodenASupportsPaintSetupRotated(
session, kSupportType, WoodenSupportSubType::Corner3, direction, height, session.SupportColours);
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(kSegmentsAll, direction), 0xFFFF, 0);
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
break;
}