diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/core/core_2d_camera_platformer.c | 4 | ||||
| -rw-r--r-- | examples/shapes/shapes_draw_circle_sector.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/core/core_2d_camera_platformer.c b/examples/core/core_2d_camera_platformer.c index 293ffa6a..645c317f 100644 --- a/examples/core/core_2d_camera_platformer.c +++ b/examples/core/core_2d_camera_platformer.c @@ -15,8 +15,8 @@ #include "raymath.h" #define G 400 -#define PLAYER_JUMP_SPD 350.f -#define PLAYER_HOR_SPD 200.f +#define PLAYER_JUMP_SPD 350.0f +#define PLAYER_HOR_SPD 200.0f typedef struct Player { Vector2 position; diff --git a/examples/shapes/shapes_draw_circle_sector.c b/examples/shapes/shapes_draw_circle_sector.c index 60298cfe..8b1cf6ec 100644 --- a/examples/shapes/shapes_draw_circle_sector.c +++ b/examples/shapes/shapes_draw_circle_sector.c @@ -27,7 +27,7 @@ int main(void) Vector2 center = {(GetScreenWidth() - 300)/2, GetScreenHeight()/2 }; - float outerRadius = 180.f; + float outerRadius = 180.0f; int startAngle = 0; int endAngle = 180; int segments = 0; |
