Sfoglia il codice sorgente

make sure that the constant is of float type, not double

Ethan Trịnh 7 anni fa
parent
commit
6ea8c62b43
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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     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()
 {