Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
shai-almog committed Jan 2, 2023
1 parent 3d9b7b7 commit 6e500ab
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,6 @@ 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 + (width - x - 1) * height] = rgb[x + y * width];
}
}
Expand Down

0 comments on commit 6e500ab

Please sign in to comment.