Skip to content

Commit

Permalink
GRAPHICS: Document that rotate90() rotates clock-wise
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Dec 13, 2016
1 parent 82957f2 commit 2c14232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/images/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static inline void flipVertically(byte *data, int width, int height, int bpp) {
}
}

/** Rotate a square image in 90° steps. */
/** Rotate a square image in 90° steps, clock-wise. */
static inline void rotate90(byte *data, int width, int height, int bpp, int steps) {
if ((width <= 0) || (height <= 0) || (bpp <= 0))
return;
Expand Down

0 comments on commit 2c14232

Please sign in to comment.