Use more shared data structures in src\Bullet3OpenCL\NarrowphaseCollision\kernels\satClipHullContacts.cl

Revert default error func (was broken)
This commit is contained in:
erwincoumans
2013-11-19 17:52:59 -08:00
parent 26dfaa441e
commit 1d5c651753
8 changed files with 416 additions and 210 deletions

View File

@@ -38,7 +38,7 @@ struct b3Collidable
};
typedef struct b3GpuChildShape b3GpuChildShape_t;
struct b3GpuChildShape
{
b3Float4 m_childPosition;

View File

@@ -7,6 +7,7 @@
#include "Bullet3Common/shared/b3Float4.h"
#include "Bullet3Common/shared/b3Quat.h"
typedef struct b3GpuFace b3GpuFace_t;
struct b3GpuFace
{
b3Float4 m_plane;
@@ -16,7 +17,9 @@ struct b3GpuFace
int m_unusedPadding2;
};
B3_ATTRIBUTE_ALIGNED16(struct) b3ConvexPolyhedronData
typedef struct b3ConvexPolyhedronData b3ConvexPolyhedronData_t;
struct b3ConvexPolyhedronData
{
b3Float4 m_localCenter;
b3Float4 m_extents;