added b3Aabb.h header, can be shared between C++ and OpenCL
This commit is contained in:
19
src/Bullet3Collision/BroadPhaseCollision/shared/b3Aabb.h
Normal file
19
src/Bullet3Collision/BroadPhaseCollision/shared/b3Aabb.h
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
#ifndef B3_AABB_H
|
||||
#define B3_AABB_H
|
||||
|
||||
struct b3Aabb
|
||||
{
|
||||
union
|
||||
{
|
||||
float m_min[4];
|
||||
int m_minIndices[4];
|
||||
};
|
||||
union
|
||||
{
|
||||
float m_max[4];
|
||||
int m_signedMaxIndices[4];
|
||||
};
|
||||
};
|
||||
|
||||
#endif //B3_AABB_H
|
||||
Reference in New Issue
Block a user