From 6ea8c62b4320f62067a4e55223034df83c675ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ethan=20Tr=E1=BB=8Bnh?= Date: Mon, 30 Jul 2018 19:35:13 +0800 Subject: [PATCH] make sure that the constant is of float type, not double --- examples/models/models_mesh_picking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/models/models_mesh_picking.c b/examples/models/models_mesh_picking.c index 7ee117f1d..c55213734 100644 --- a/examples/models/models_mesh_picking.c +++ b/examples/models/models_mesh_picking.c @@ -13,7 +13,7 @@ #include "raylib.h" #include "raymath.h" -#define FLT_MAX 340282346638528859811704183484516925440.0 // Maximum value of a float, from bit pattern 01111111011111111111111111111111 +#define FLT_MAX 340282346638528859811704183484516925440.0f // Maximum value of a float, from bit pattern 01111111011111111111111111111111 int main() {