diff options
| author | Ethan Trịnh <[email protected]> | 2018-07-30 19:02:20 +0800 |
|---|---|---|
| committer | Ethan Trịnh <[email protected]> | 2018-07-30 19:02:20 +0800 |
| commit | 741513842a2de5d3586e129793dc899723ae3d83 (patch) | |
| tree | c2d6442081f31de4788702f7ef4173f5ae1e9117 /examples | |
| parent | 8bea6abe8c9d3d91a060bec141d6c4476e516ac1 (diff) | |
| download | raylib-741513842a2de5d3586e129793dc899723ae3d83.tar.gz raylib-741513842a2de5d3586e129793dc899723ae3d83.zip | |
fix problem when compiling with MSVC 2017, built-in CMake: C2177 constant too big
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_mesh_picking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_mesh_picking.c b/examples/models/models_mesh_picking.c index fb224c7a..7ee117f1 100644 --- a/examples/models/models_mesh_picking.c +++ b/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.0 // Maximum value of a float, from bit pattern 01111111011111111111111111111111 int main() { |
