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

@ -28,8 +28,8 @@ int main(void)
Vector2 center = {(GetScreenWidth() - 300)/2, GetScreenHeight()/2 };
float outerRadius = 180.0f;
int startAngle = 0;
int endAngle = 180;
float startAngle = 0.0f;
float endAngle = 180.0f;
int segments = 0;
SetTargetFPS(60); // Set our game to run at 60 frames-per-second