summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2020-10-05 20:19:18 +0200
committerRay <[email protected]>2020-10-05 20:19:18 +0200
commit41192c6d4a66b45017af3a285ba3b6a7835b5989 (patch)
tree184448d411ab6ed4d793633566ad54349f52ff67 /examples
parentb29311c7cacf17b3512d837951d9e02fceae586f (diff)
downloadraylib-41192c6d4a66b45017af3a285ba3b6a7835b5989.tar.gz
raylib-41192c6d4a66b45017af3a285ba3b6a7835b5989.zip
Replace 0.f by 0.0f
Diffstat (limited to 'examples')
-rw-r--r--examples/core/core_2d_camera_platformer.c4
-rw-r--r--examples/shapes/shapes_draw_circle_sector.c2
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;