move some files to shared folders
use b3Aabb for compound vs compound on host (for testing, towards BVH)
This commit is contained in:
@@ -7,7 +7,7 @@ class b3Vector3;
|
||||
#include "Bullet3OpenCL/ParallelPrimitives/b3RadixSort32CL.h"
|
||||
|
||||
#include "b3SapAabb.h"
|
||||
#include "Bullet3Common/b3Int2.h"
|
||||
#include "Bullet3Common/shared/b3Int2.h"
|
||||
|
||||
|
||||
class b3GpuSapBroadphase
|
||||
|
||||
@@ -2,19 +2,13 @@
|
||||
#define B3_SAP_AABB_H
|
||||
|
||||
#include "Bullet3Common/b3Scalar.h"
|
||||
#include "Bullet3Collision/BroadPhaseCollision/shared/b3Aabb.h"
|
||||
|
||||
B3_ATTRIBUTE_ALIGNED16(struct) b3SapAabb
|
||||
///just make sure that the b3Aabb is 16-byte aligned
|
||||
B3_ATTRIBUTE_ALIGNED16(struct) b3SapAabb : public b3Aabb
|
||||
{
|
||||
union
|
||||
{
|
||||
float m_min[4];
|
||||
int m_minIndices[4];
|
||||
};
|
||||
union
|
||||
{
|
||||
float m_max[4];
|
||||
int m_signedMaxIndices[4];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif //B3_SAP_AABB_H
|
||||
|
||||
Reference in New Issue
Block a user