Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix build error on Ubuntu 16.04 (again)
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
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; |
|
|
} |
|
|
|
|
|