summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.rc.data
diff options
context:
space:
mode:
authorAlexander Buhl <[email protected]>2021-07-23 23:17:04 +0200
committerGitHub <[email protected]>2021-07-23 23:17:04 +0200
commitff2b8d6db19b4de0b3acaefdf2b50d63dbc029f9 (patch)
tree707315bf63432ddb36fcb6dfa46a74c7e4a4dcbc /src/raylib.rc.data
parent0fa295c72ddaff928dc883bb29b785d8be063154 (diff)
downloadraylib-ff2b8d6db19b4de0b3acaefdf2b50d63dbc029f9.tar.gz
raylib-ff2b8d6db19b4de0b3acaefdf2b50d63dbc029f9.zip
Fixes #1873 Implemented remaining 7/8 of ImageDrawLine (#1874)
* Implemented remaining 7/8 of ImageDrawLine The existing code was correct for one octant, it now works for all 8 Added two internal functions, _ImageDrawLineHorizontal and _ImageDrawLineVertical, whithout which it would've been 4 times as much code. * ImageDrawLine: Replaced 3 functions with 1 Removed both freshly added internal functions Crammed it all into one * ImageDrawLine shortened significantly using maths Substituted X and Y, then wrote one abstract loop instead of 4 specific loops. Lots of comments to explain what I'm doing for future maintainers. * Now conforms with style conventions Also reworded a comment to sound more... fomal.
Diffstat (limited to 'src/raylib.rc.data')
0 files changed, 0 insertions, 0 deletions