Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shannah committed Dec 3, 2022
2 parents bc24d79 + 91d9417 commit 865aeb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ public Image rotate270Degrees(Image image, boolean maintainOpacity) {

for(int y = 0 ; y < height ; y++) {
for(int x = 0 ; x < width ; x++) {
newRGB[y + x * height] = rgb[x + y * width];
newRGB[y + (height - x) * height] = rgb[x + y * width];
}
}

Expand Down

0 comments on commit 865aeb2

Please sign in to comment.