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:
parent
7a566a07ea
commit
2f367a905e
4 changed files with 26 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue