From 741513842a2de5d3586e129793dc899723ae3d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ethan=20Tr=E1=BB=8Bnh?= Date: Mon, 30 Jul 2018 19:02:20 +0800 Subject: [PATCH] fix problem when compiling with MSVC 2017, built-in CMake: C2177 constant too big --- 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 fb224c7a2..7ee117f1d 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 3.40282347E+38F // Maximum value of a float, defined in +#define FLT_MAX 340282346638528859811704183484516925440.0 // Maximum value of a float, from bit pattern 01111111011111111111111111111111 int main() {