2
0
Эх сурвалжийг харах

Fixed dual quaternion != operator #629

Christophe Riccio 8 жил өмнө
parent
commit
2834d7376a

+ 1 - 1
glm/gtx/dual_quaternion.inl

@@ -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 --

+ 1 - 0
readme.md

@@ -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