Changed DrawRing and DrawCircleSector angle params from int to float to allow greater accuracy. (#1656)

Co-authored-by: Simon <simon@frithrah.com>
This commit is contained in:
frithrah 2021-03-19 18:13:55 +00:00 committed by GitHub
parent 7a566a07ea
commit 2f367a905e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 26 deletions

View file

@ -30,8 +30,8 @@ int main(void)
float innerRadius = 80.0f;
float outerRadius = 190.0f;
int startAngle = 0;
int endAngle = 360;
float startAngle = 0.0f;
float endAngle = 360.0f;
int segments = 0;
bool drawRing = true;