mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
revert sat contact kernels update
This commit is contained in:
parent
535ee33e3b
commit
c6bf3a7261
@ -404,33 +404,17 @@ static const char* mprKernelsCL= \
|
||||
" int m_compoundBvhIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" float m_height;\n"
|
||||
" };\n"
|
||||
" int m_shapeIndex;\n"
|
||||
"};\n"
|
||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||
"struct b3GpuChildShape\n"
|
||||
"{\n"
|
||||
" b3Float4 m_childPosition;\n"
|
||||
" b3Quat m_childOrientation;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;//used for SHAPE_COMPOUND_OF_CONVEX_HULLS\n"
|
||||
" int m_capsuleAxis;\n"
|
||||
" };\n"
|
||||
" union \n"
|
||||
" {\n"
|
||||
" float m_radius;//used for childshape of SHAPE_COMPOUND_OF_SPHERES or SHAPE_COMPOUND_OF_CAPSULES\n"
|
||||
" int m_numChildShapes;//used for compound shape\n"
|
||||
" };\n"
|
||||
" union \n"
|
||||
" {\n"
|
||||
" float m_height;//used for childshape of SHAPE_COMPOUND_OF_CAPSULES\n"
|
||||
" int m_collidableShapeIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" int m_unused0;\n"
|
||||
" int m_unused1;\n"
|
||||
" int m_unused2;\n"
|
||||
"};\n"
|
||||
"struct b3CompoundOverlappingPair\n"
|
||||
"{\n"
|
||||
|
@ -281,33 +281,17 @@ static const char* satClipKernelsCL= \
|
||||
" int m_compoundBvhIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" float m_height;\n"
|
||||
" };\n"
|
||||
" int m_shapeIndex;\n"
|
||||
"};\n"
|
||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||
"struct b3GpuChildShape\n"
|
||||
"{\n"
|
||||
" b3Float4 m_childPosition;\n"
|
||||
" b3Quat m_childOrientation;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;//used for SHAPE_COMPOUND_OF_CONVEX_HULLS\n"
|
||||
" int m_capsuleAxis;\n"
|
||||
" };\n"
|
||||
" union \n"
|
||||
" {\n"
|
||||
" float m_radius;//used for childshape of SHAPE_COMPOUND_OF_SPHERES or SHAPE_COMPOUND_OF_CAPSULES\n"
|
||||
" int m_numChildShapes;//used for compound shape\n"
|
||||
" };\n"
|
||||
" union \n"
|
||||
" {\n"
|
||||
" float m_height;//used for childshape of SHAPE_COMPOUND_OF_CAPSULES\n"
|
||||
" int m_collidableShapeIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" int m_unused0;\n"
|
||||
" int m_unused1;\n"
|
||||
" int m_unused2;\n"
|
||||
"};\n"
|
||||
"struct b3CompoundOverlappingPair\n"
|
||||
"{\n"
|
||||
|
Loading…
Reference in New Issue
Block a user