Skip to content
Snippets Groups Projects
Commit b238c41a authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Merge pull request #11 from anna-seppala/affordance

modify implementation of operator == in /include/hpp/fcl/math/vec_3fx.h
parents 2f7a8c0c 855d636c
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,8 @@ public: ...@@ -132,7 +132,8 @@ public:
bool operator == (const Vec3fX& other) const 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 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