Commit d26d11c2 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Remove mutex Transform3f::lock_

parent f68ff486
......@@ -68,8 +68,6 @@ inline bool areQuatEquals (const Quaternion3f& q1, const Quaternion3f& q2)
/// @brief Simple transform class used locally by InterpMotion
class Transform3f
{
boost::mutex lock_;
/// @brief Whether matrix cache is set
mutable bool matrix_set;
/// @brief Matrix cache
......
......@@ -46,7 +46,6 @@ namespace fcl
const Matrix3f& Transform3f::getRotationInternal() const
{
boost::mutex::scoped_lock slock(const_cast<boost::mutex&>(lock_));
if(!matrix_set)
{
R = q.toRotationMatrix();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment