summaryrefslogtreecommitdiff
path: root/include/SDL_render.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2017-08-11 13:24:18 -0700
committerSam Lantinga <slouken@libsdl.org>2017-08-11 13:24:18 -0700
commit1d8836e5a15b882ee24e1f7c195f74b15a92358f (patch)
tree3908afd9e43c1cea0eb104b7b51c8277a99fe6b6 /include/SDL_render.h
parentc912dddbbc2ff90849148bff3b6a50a53496392a (diff)
downloadsdl-1d8836e5a15b882ee24e1f7c195f74b15a92358f.tar.gz
Fixed bug 3492 - SDL_RenderCopyEx angle direction not documented
xyzdragon Reading https://wiki.libsdl.org/SDL_RenderCopyEx there is no mention what the angle means. Normally in a mathematically environment positive angles translate to counter-clockwise rotations, but in SDL positive angles means clockwise rotation.
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r--include/SDL_render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h
index 1c9c039d6..56341b456 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -819,7 +819,7 @@ extern DECLSPEC int SDLCALL SDL_RenderCopy(SDL_Renderer * renderer,
* texture.
* \param dstrect A pointer to the destination rectangle, or NULL for the
* entire rendering target.
- * \param angle An angle in degrees that indicates the rotation that will be applied to dstrect
+ * \param angle An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction
* \param center A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2).
* \param flip An SDL_RendererFlip value stating which flipping actions should be performed on the texture
*