Improving homogeneity of DEBUG macro for improved portability with compilers other than Visual Studio

This commit is contained in:
Léo Terziman
2013-11-21 13:05:48 +01:00
parent 29c125e51d
commit 4e7b59be55
19 changed files with 27 additions and 27 deletions

View File

@@ -193,7 +193,7 @@ void TempMesh::ComputePolygonNormals(std::vector<IfcVector3>& normals,
temp[cnt++] = v.x;
temp[cnt++] = v.y;
temp[cnt++] = v.z;
#ifdef _DEBUG
#ifdef ASSIMP_BUILD_DEBUG
temp[cnt] = std::numeric_limits<IfcFloat>::quiet_NaN();
#endif
++cnt;