Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
d26d11c2
Commit
d26d11c2
authored
Jan 31, 2019
by
Joseph Mirabel
Browse files
Remove mutex Transform3f::lock_
parent
f68ff486
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/hpp/fcl/math/transform.h
View file @
d26d11c2
...
...
@@ -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
...
...
src/math/transform.cpp
View file @
d26d11c2
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment