[dali_2.3.21] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-physics / third-party / bullet3 / src / Bullet3Collision / NarrowPhaseCollision / shared / b3RigidBodyData.h
1 #ifndef B3_RIGIDBODY_DATA_H
2 #define B3_RIGIDBODY_DATA_H
3
4 #include "Bullet3Common/shared/b3Float4.h"
5 #include "Bullet3Common/shared/b3Quat.h"
6 #include "Bullet3Common/shared/b3Mat3x3.h"
7
8 typedef struct b3RigidBodyData b3RigidBodyData_t;
9
10 struct b3RigidBodyData
11 {
12         b3Float4 m_pos;
13         b3Quat m_quat;
14         b3Float4 m_linVel;
15         b3Float4 m_angVel;
16
17         int m_collidableIdx;
18         float m_invMass;
19         float m_restituitionCoeff;
20         float m_frictionCoeff;
21 };
22
23 typedef struct b3InertiaData b3InertiaData_t;
24
25 struct b3InertiaData
26 {
27         b3Mat3x3 m_invInertiaWorld;
28         b3Mat3x3 m_initInvInertia;
29 };
30
31 #endif  //B3_RIGIDBODY_DATA_H