summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-07 15:08:41 +0100
committerGitHub <noreply@github.com>2019-01-07 15:08:41 +0100
commitdab650fcaa3eb37deee5118d678a3763ac78a58a (patch)
tree3131df01280f91a61b4721eed132a5b6b21881ba /thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp
parenta3a537c2cf86ff4bf82385bbd17606654f8013c4 (diff)
parent22b7c9dfa80d0f7abca40f061865c2ab3c136a74 (diff)
Merge pull request #24740 from OBKF/update-bullet-physics
Update Bullet physics to commit 126b676
Diffstat (limited to 'thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp')
-rw-r--r--thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp b/thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp
index 0d2aa4a071..dbdb3ff604 100644
--- a/thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp
+++ b/thirdparty/bullet/BulletInverseDynamics/details/MultiBodyTreeInitCache.hpp
@@ -5,9 +5,11 @@
#include "../IDMath.hpp"
#include "../MultiBodyTree.hpp"
-namespace btInverseDynamics {
+namespace btInverseDynamics
+{
/// Mass properties of a rigid body
-struct InertiaData {
+struct InertiaData
+{
ID_DECLARE_ALIGNED_ALLOCATOR();
/// mass
@@ -21,7 +23,8 @@ struct InertiaData {
};
/// Joint properties
-struct JointData {
+struct JointData
+{
ID_DECLARE_ALIGNED_ALLOCATOR();
/// type of joint
@@ -48,7 +51,8 @@ struct JointData {
/// Data structure to store data passed by the user.
/// This is used in MultiBodyTree::finalize to build internal data structures.
-class MultiBodyTree::InitCache {
+class MultiBodyTree::InitCache
+{
public:
ID_DECLARE_ALIGNED_ALLOCATOR();
/// constructor
@@ -105,5 +109,5 @@ private:
// index of root body (or -1 if not set)
int m_root_index;
};
-}
+} // namespace btInverseDynamics
#endif // MULTIBODYTREEINITCACHE_HPP_