Browse Source

Merge pull request #612 from ethan-tqa/master

fix problem when compiling with MSVC 2017, error C2177
Ray 7 năm trước cách đây
mục cha
commit
b6f2fb613e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/models/models_mesh_picking.c

+ 1 - 1
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 <float.h>
+#define FLT_MAX     340282346638528859811704183484516925440.0f     // Maximum value of a float, from bit pattern 01111111011111111111111111111111
 
 int main()
 {