From bc131321a8f98842b163d3f772e9ed3f1fd64adc Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Sun, 16 Nov 2008 08:06:28 +0000 Subject: [PATCH] fix in (unused) operator == --- src/LinearMath/btQuadWord.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LinearMath/btQuadWord.h b/src/LinearMath/btQuadWord.h index 10aec4fd2..b79438399 100644 --- a/src/LinearMath/btQuadWord.h +++ b/src/LinearMath/btQuadWord.h @@ -88,7 +88,7 @@ class btQuadWord : public btQuadWordStorage SIMD_FORCE_INLINE bool operator==(const btQuadWord& other) const { - return ((m_floats[3]==m_floats[3]) && (m_floats[2]==m_floats[2]) && (m_floats[1]==m_floats[1]) && (m_floats[0]==m_floats[0])); + return ((m_floats[3]==other.m_floats[3]) && (m_floats[2]==other.m_floats[2]) && (m_floats[1]==other.m_floats[1]) && (m_floats[0]==other.m_floats[0])); } SIMD_FORCE_INLINE bool operator!=(const btQuadWord& other) const