Fixed dual quaternion != operator #629

This commit is contained in:
Christophe Riccio 2017-06-04 10:09:18 +02:00
parent 40398d67cd
commit 2834d7376a
2 changed files with 2 additions and 1 deletions

View File

@ -217,7 +217,7 @@ namespace glm
template<typename T, precision P>
GLM_FUNC_QUALIFIER bool operator!=(tdualquat<T, P> const & q1, tdualquat<T, P> const & q2)
{
return (q1.real != q2.dual) || (q1.real != q2.dual);
return (q1.real != q2.real) || (q1.dual != q2.dual);
}
// -- Operations --

View File

@ -74,6 +74,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
- Removed doxygen references to GTC_half_float which was removed in 0.9.4
- Fixed glm::decompose #448
- Fixed intersectRayTriangle #6
- Fixed dual quaternion != operator #629
#### Deprecation:
- Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler