mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 19:34:36 +00:00
Fixed acsch #698
This commit is contained in:
parent
5bcb204cde
commit
529de50383
@ -165,7 +165,7 @@ namespace glm
|
|||||||
GLM_FUNC_QUALIFIER genType acsch(genType x)
|
GLM_FUNC_QUALIFIER genType acsch(genType x)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acsch' only accept floating-point values");
|
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>
|
template<length_t L, typename T, qualifier Q>
|
||||||
|
@ -107,6 +107,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate)
|
|||||||
- Fixed Better follow GLSL min and max specification #372
|
- Fixed Better follow GLSL min and max specification #372
|
||||||
- Fixed quaternion constructor from two vectors special cases #469
|
- Fixed quaternion constructor from two vectors special cases #469
|
||||||
- Fixed glm::to_string on quaternions wrong components order #681
|
- Fixed glm::to_string on quaternions wrong components order #681
|
||||||
|
- Fixed acsch #698
|
||||||
|
|
||||||
#### Deprecation:
|
#### Deprecation:
|
||||||
- Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler
|
- Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler
|
||||||
|
Loading…
Reference in New Issue
Block a user