Fix compilation for GCC

Former-commit-id: 7c51c59904fa86f952b704d175b09b32640d9395
This commit is contained in:
Lynix
2015-11-28 02:07:56 +01:00
parent 0a0e6d00f7
commit 6bc285cb00
3 changed files with 6 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ namespace Nz
template<typename T>
float Vector3<T>::GetLengthf() const
{
return std::sqrt<float>(static_cast<float>(GetSquaredLength()));
return std::sqrt(static_cast<float>(GetSquaredLength()));
}
template<typename T>