diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/shapes/shapes_draw_circle_sector.c | 4 | ||||
| -rw-r--r-- | examples/shapes/shapes_draw_ring.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/shapes/shapes_draw_circle_sector.c b/examples/shapes/shapes_draw_circle_sector.c index 92ce1f4a..7ea894a9 100644 --- a/examples/shapes/shapes_draw_circle_sector.c +++ b/examples/shapes/shapes_draw_circle_sector.c @@ -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 diff --git a/examples/shapes/shapes_draw_ring.c b/examples/shapes/shapes_draw_ring.c index bc8287ef..d6085036 100644 --- a/examples/shapes/shapes_draw_ring.c +++ b/examples/shapes/shapes_draw_ring.c @@ -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; |
