Explorar o código

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

Ethan Trịnh %!s(int64=7) %!d(string=hai) anos
pai
achega
6ea8c62b43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
 {