Fixed acsch #698

This commit is contained in:
Christophe Riccio 2017-11-22 17:36:31 +01:00
parent 5bcb204cde
commit 529de50383
2 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,7 @@ namespace glm
GLM_FUNC_QUALIFIER genType acsch(genType x)
{
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acsch' only accept floating-point values");
return acsch(genType(1) / x);
return asinh(genType(1) / x);
}
template<length_t L, typename T, qualifier Q>

View File

@ -107,6 +107,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate)
- Fixed Better follow GLSL min and max specification #372
- Fixed quaternion constructor from two vectors special cases #469
- Fixed glm::to_string on quaternions wrong components order #681
- Fixed acsch #698
#### Deprecation:
- Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler