diff options
| author | Ethan Trịnh <[email protected]> | 2018-07-30 19:35:13 +0800 |
|---|---|---|
| committer | Ethan Trịnh <[email protected]> | 2018-07-30 19:35:13 +0800 |
| commit | 6ea8c62b4320f62067a4e55223034df83c675ff6 (patch) | |
| tree | 7ecb6e33fb664ccefb79e5f8286d4e1bdba88290 /examples/models | |
| parent | 741513842a2de5d3586e129793dc899723ae3d83 (diff) | |
| download | raylib-6ea8c62b4320f62067a4e55223034df83c675ff6.tar.gz raylib-6ea8c62b4320f62067a4e55223034df83c675ff6.zip | |
make sure that the constant is of float type, not double
Diffstat (limited to 'examples/models')
| -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 7ee117f1..c5521373 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 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() { |
