Changed DrawRing and DrawCircleSector angle params from int to float to allow greater accuracy.
This commit is contained in:
parent
3e25760950
commit
4e4dc0d1d0
1 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…
Reference in a new issue