diff options
author | sfan5 <sfan5@live.de> | 2020-06-10 11:46:14 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-06-10 11:46:14 +0200 |
commit | 80d9e9c1834fdc78588ffe2842766c0177227786 (patch) | |
tree | 8ce811ca9b15352f7371ca1e6fa21cd124143ab4 /src | |
parent | 64380cf92e8d0000f75ec372e3e1d09bdccd12e7 (diff) | |
download | minetest-80d9e9c1834fdc78588ffe2842766c0177227786.tar.gz minetest-80d9e9c1834fdc78588ffe2842766c0177227786.tar.bz2 minetest-80d9e9c1834fdc78588ffe2842766c0177227786.zip |
Fix build error on Ubuntu 16.04 (again)
Diffstat (limited to 'src')
-rw-r--r-- | src/client/mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mesh.cpp b/src/client/mesh.cpp index 91781373c..68832849e 100644 --- a/src/client/mesh.cpp +++ b/src/client/mesh.cpp @@ -341,7 +341,7 @@ bool checkMeshNormals(scene::IMesh *mesh) // hurting the performance and covering only really weird broken models. f32 length = buffer->getNormal(0).getLength(); - if (!isfinite(length) || fabs(length) < 1e-10) + if (!std::isfinite(length) || std::fabs(length) < 1e-10f) return false; } |