From 0fef5b663ac862f97774df07221d5f600dce9026 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Mon, 9 Dec 2019 10:55:58 +0100 Subject: [PATCH] math: remove not used lines --- include/hpp/fcl/math/transform.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/hpp/fcl/math/transform.h b/include/hpp/fcl/math/transform.h index 0a0a20ca..0ccced37 100644 --- a/include/hpp/fcl/math/transform.h +++ b/include/hpp/fcl/math/transform.h @@ -55,17 +55,6 @@ static inline std::ostream& operator << (std::ostream& o, const Quaternion3f& q) return o; } -inline bool isQuatIdentity (const Quaternion3f& q) -{ - return (q.w() == 1 || q.w() == -1) && q.x() == 0 && q.y() == 0 && q.z() == 0; -} - -inline bool areQuatEquals (const Quaternion3f& q1, const Quaternion3f& q2) -{ - return (q1.w() == q2.w() && q1.x() == q2.x() && q1.y() == q2.y() && q1.z() == q2.z()) - || (q1.w() == -q2.w() && q1.x() == -q2.x() && q1.y() == -q2.y() && q1.z() == -q2.z()); -} - /// @brief Simple transform class used locally by InterpMotion class Transform3f { -- GitLab