Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build error on Ubuntu 16.04 (again)
  • Loading branch information
sfan5 committed Jun 10, 2020
1 parent 64380cf commit 80d9e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/mesh.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 80d9e9c

Please sign in to comment.