upload work-in-progress Collision example using C-API.

This commit is contained in:
erwin coumans
2015-10-28 11:48:36 -07:00
parent 2d5d89d999
commit dc81e31e74
11 changed files with 208 additions and 47 deletions

View File

@@ -46,7 +46,11 @@ struct b3GpuChildShape
{
b3Float4 m_childPosition;
b3Quat m_childOrientation;
int m_shapeIndex;//used for SHAPE_COMPOUND_OF_CONVEX_HULLS
union
{
int m_shapeIndex;//used for SHAPE_COMPOUND_OF_CONVEX_HULLS
int m_capsuleAxis;
};
union
{
float m_radius;//used for childshape of SHAPE_COMPOUND_OF_SPHERES or SHAPE_COMPOUND_OF_CAPSULES