diff options
| author | Rémi Verschelde | 2018-01-13 14:01:53 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-01-13 14:08:45 +0100 |
| commit | e12c89e8c9896b2e5cdd70dbd2d2acb449ff4b94 (patch) | |
| tree | af68e434545e20c538f896e28b73f2db7d626edd /thirdparty/bullet/src/Bullet3Common/shared/b3Int4.h | |
| parent | 53c65ae7619ac9e80c89a321c70de64f3745e2aa (diff) | |
| download | godot-e12c89e8c9896b2e5cdd70dbd2d2acb449ff4b94.tar.gz godot-e12c89e8c9896b2e5cdd70dbd2d2acb449ff4b94.tar.zst godot-e12c89e8c9896b2e5cdd70dbd2d2acb449ff4b94.zip | |
bullet: Streamline bundling, remove extraneous src/ folder
Document version and how to extract sources in thirdparty/README.md.
Drop unnecessary CMake and Premake files.
Simplify SCsub, drop unused one.
Diffstat (limited to 'thirdparty/bullet/src/Bullet3Common/shared/b3Int4.h')
| -rw-r--r-- | thirdparty/bullet/src/Bullet3Common/shared/b3Int4.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/thirdparty/bullet/src/Bullet3Common/shared/b3Int4.h b/thirdparty/bullet/src/Bullet3Common/shared/b3Int4.h deleted file mode 100644 index aa02d6bee..000000000 --- a/thirdparty/bullet/src/Bullet3Common/shared/b3Int4.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef B3_INT4_H -#define B3_INT4_H - -#ifdef __cplusplus - -#include "Bullet3Common/b3Scalar.h" - - -B3_ATTRIBUTE_ALIGNED16(struct) b3UnsignedInt4 -{ - B3_DECLARE_ALIGNED_ALLOCATOR(); - - union - { - struct - { - unsigned int x,y,z,w; - }; - struct - { - unsigned int s[4]; - }; - }; -}; - -B3_ATTRIBUTE_ALIGNED16(struct) b3Int4 -{ - B3_DECLARE_ALIGNED_ALLOCATOR(); - - union - { - struct - { - int x,y,z,w; - }; - struct - { - int s[4]; - }; - }; -}; - -B3_FORCE_INLINE b3Int4 b3MakeInt4(int x, int y, int z, int w = 0) -{ - b3Int4 v; - v.s[0] = x; v.s[1] = y; v.s[2] = z; v.s[3] = w; - return v; -} - -B3_FORCE_INLINE b3UnsignedInt4 b3MakeUnsignedInt4(unsigned int x, unsigned int y, unsigned int z, unsigned int w = 0) -{ - b3UnsignedInt4 v; - v.s[0] = x; v.s[1] = y; v.s[2] = z; v.s[3] = w; - return v; -} - -#else - - -#define b3UnsignedInt4 uint4 -#define b3Int4 int4 -#define b3MakeInt4 (int4) -#define b3MakeUnsignedInt4 (uint4) - - -#endif //__cplusplus - -#endif //B3_INT4_H |
