We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3492 - SDL_RenderCopyEx angle direction not documented
Summary: SDL_RenderCopyEx angle direction not documented
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-15 21:17 UTC by xyzdragon
Modified: 2017-08-11 20:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xyzdragon 2016-11-15 21:17:50 UTC
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.
Comment 1 Sam Lantinga 2017-08-11 20:24:40 UTC
This is fixed in the header and on the wiki, thanks!
https://hg.libsdl.org/SDL/rev/aca84e42a924