mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-15 19:05:34 +00:00
fix problem when compiling with MSVC 2017, built-in CMake: C2177 constant too big
This commit is contained in:
@@ -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.0 // Maximum value of a float, from bit pattern 01111111011111111111111111111111
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user