Quellcode durchsuchen

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

pull/612/head
Ethan Trịnh vor 6 Jahren
Ursprung
Commit
6ea8c62b43
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      examples/models/models_mesh_picking.c

+ 1
- 1
examples/models/models_mesh_picking.c Datei anzeigen

@ -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()
{

Laden…
Abbrechen
Speichern