replace more math.h functions occurences with std::

This commit is contained in:
Eshed
2016-10-15 12:05:57 +03:00
parent 25cda401c5
commit a84bf869c2
5 changed files with 14 additions and 14 deletions

View File

@@ -256,7 +256,7 @@ bool CalcTangentsProcess::ProcessMesh( aiMesh* pMesh, unsigned int meshIndex)
}
std::vector<unsigned int> verticesFound;
const float fLimit = cosf(configMaxAngle);
const float fLimit = std::cos(configMaxAngle);
std::vector<unsigned int> closeVertices;
// in the second pass we now smooth out all tangents and bitangents at the same local position