mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Fix build error on Ubuntu 16.04 (again)
This commit is contained in:
parent
64380cf92e
commit
80d9e9c183
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ bool checkMeshNormals(scene::IMesh *mesh)
|
||||||
// hurting the performance and covering only really weird broken models.
|
// hurting the performance and covering only really weird broken models.
|
||||||
f32 length = buffer->getNormal(0).getLength();
|
f32 length = buffer->getNormal(0).getLength();
|
||||||
|
|
||||||
if (!isfinite(length) || fabs(length) < 1e-10)
|
if (!std::isfinite(length) || std::fabs(length) < 1e-10f)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue