mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
Fix build error on Ubuntu 16.04 (again)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user