From b575acf2b6d5ad654ab2c3478eb20d87cc1d4a2f Mon Sep 17 00:00:00 2001 From: David Jordan Date: Fri, 17 Apr 2015 23:38:54 -0400 Subject: [PATCH] std::absf to std::fabsf --- code/PlyExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/PlyExporter.cpp b/code/PlyExporter.cpp index 6f86c6b8e..38bf5e9fc 100644 --- a/code/PlyExporter.cpp +++ b/code/PlyExporter.cpp @@ -225,7 +225,7 @@ void PlyExporter::WriteMeshVerts(const aiMesh* m, unsigned int components) m->mVertices[i].z ; if(components & PLY_EXPORT_HAS_NORMALS) { - if (m->HasNormals() && is_not_qnan(m->mNormals[i].x) && std::absf(m->mNormals[i].x) != inf) { + if (m->HasNormals() && is_not_qnan(m->mNormals[i].x) && std::fabsf(m->mNormals[i].x) != inf) { mOutput << " " << m->mNormals[i].x << " " << m->mNormals[i].y <<