Skip to content
Snippets Groups Projects
Commit 855d636c authored by Akseppal's avatar Akseppal
Browse files

modify implementation of operator == in /include/hpp/fcl/math/vec_3fx.h

parent 7fdb22d9
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,8 @@ public:
bool operator == (const Vec3fX& other) const
{
return equal(other, 0);
return (data[0] == other.data[0] && data[1] == other.data[1]
&& data[2] == other.data[2]);
}
bool operator != (const Vec3fX& other) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment