diff options
Diffstat (limited to 'src/3rdparty/assimp/code/CalcTangentsProcess.cpp')
-rw-r--r-- | src/3rdparty/assimp/code/CalcTangentsProcess.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/assimp/code/CalcTangentsProcess.cpp b/src/3rdparty/assimp/code/CalcTangentsProcess.cpp index dbba1bed3..2af16fcc0 100644 --- a/src/3rdparty/assimp/code/CalcTangentsProcess.cpp +++ b/src/3rdparty/assimp/code/CalcTangentsProcess.cpp @@ -3,7 +3,8 @@ Open Asset Import Library (assimp) --------------------------------------------------------------------------- -Copyright (c) 2006-2016, assimp team +Copyright (c) 2006-2017, assimp team + All rights reserved. @@ -256,7 +257,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 |