diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-09 21:15:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-09 21:45:47 +0100 |
commit | 3d7f1555865a981b7144becfc58d3f3f34362f5f (patch) | |
tree | d92912c6d700468b3330148b9179026b9f4efcb4 /thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h | |
parent | 33c907f9f5b3ec1a43d0251d7cac80da49b5b658 (diff) |
Remove unused Bullet module and thirdparty code
It has been disabled in `master` since one year (#45852) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
Diffstat (limited to 'thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h')
-rw-r--r-- | thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h b/thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h deleted file mode 100644 index d5f6daa993..0000000000 --- a/thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef B3_CONTACT4DATA_H -#define B3_CONTACT4DATA_H - -#include "Bullet3Common/shared/b3Float4.h" - -typedef struct b3Contact4Data b3Contact4Data_t; - -struct b3Contact4Data -{ - b3Float4 m_worldPosB[4]; - // b3Float4 m_localPosA[4]; - // b3Float4 m_localPosB[4]; - b3Float4 m_worldNormalOnB; // w: m_nPoints - unsigned short m_restituitionCoeffCmp; - unsigned short m_frictionCoeffCmp; - int m_batchIdx; - int m_bodyAPtrAndSignBit; //x:m_bodyAPtr, y:m_bodyBPtr - int m_bodyBPtrAndSignBit; - - int m_childIndexA; - int m_childIndexB; - int m_unused1; - int m_unused2; -}; - -inline int b3Contact4Data_getNumPoints(const struct b3Contact4Data* contact) -{ - return (int)contact->m_worldNormalOnB.w; -}; - -inline void b3Contact4Data_setNumPoints(struct b3Contact4Data* contact, int numPoints) -{ - contact->m_worldNormalOnB.w = (float)numPoints; -}; - -#endif //B3_CONTACT4DATA_H
\ No newline at end of file |