revert sat contact kernels update
This commit is contained in:
@@ -404,33 +404,17 @@ static const char* mprKernelsCL= \
|
|||||||
" int m_compoundBvhIndex;\n"
|
" int m_compoundBvhIndex;\n"
|
||||||
" };\n"
|
" };\n"
|
||||||
" int m_shapeType;\n"
|
" int m_shapeType;\n"
|
||||||
" union\n"
|
" int m_shapeIndex;\n"
|
||||||
" {\n"
|
|
||||||
" int m_shapeIndex;\n"
|
|
||||||
" float m_height;\n"
|
|
||||||
" };\n"
|
|
||||||
"};\n"
|
"};\n"
|
||||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||||
"struct b3GpuChildShape\n"
|
"struct b3GpuChildShape\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" b3Float4 m_childPosition;\n"
|
" b3Float4 m_childPosition;\n"
|
||||||
" b3Quat m_childOrientation;\n"
|
" b3Quat m_childOrientation;\n"
|
||||||
" union\n"
|
" int m_shapeIndex;\n"
|
||||||
" {\n"
|
" int m_unused0;\n"
|
||||||
" int m_shapeIndex;//used for SHAPE_COMPOUND_OF_CONVEX_HULLS\n"
|
" int m_unused1;\n"
|
||||||
" int m_capsuleAxis;\n"
|
" int m_unused2;\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"
|
|
||||||
"};\n"
|
"};\n"
|
||||||
"struct b3CompoundOverlappingPair\n"
|
"struct b3CompoundOverlappingPair\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
|||||||
@@ -281,33 +281,17 @@ static const char* satClipKernelsCL= \
|
|||||||
" int m_compoundBvhIndex;\n"
|
" int m_compoundBvhIndex;\n"
|
||||||
" };\n"
|
" };\n"
|
||||||
" int m_shapeType;\n"
|
" int m_shapeType;\n"
|
||||||
" union\n"
|
" int m_shapeIndex;\n"
|
||||||
" {\n"
|
|
||||||
" int m_shapeIndex;\n"
|
|
||||||
" float m_height;\n"
|
|
||||||
" };\n"
|
|
||||||
"};\n"
|
"};\n"
|
||||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||||
"struct b3GpuChildShape\n"
|
"struct b3GpuChildShape\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" b3Float4 m_childPosition;\n"
|
" b3Float4 m_childPosition;\n"
|
||||||
" b3Quat m_childOrientation;\n"
|
" b3Quat m_childOrientation;\n"
|
||||||
" union\n"
|
" int m_shapeIndex;\n"
|
||||||
" {\n"
|
" int m_unused0;\n"
|
||||||
" int m_shapeIndex;//used for SHAPE_COMPOUND_OF_CONVEX_HULLS\n"
|
" int m_unused1;\n"
|
||||||
" int m_capsuleAxis;\n"
|
" int m_unused2;\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"
|
|
||||||
"};\n"
|
"};\n"
|
||||||
"struct b3CompoundOverlappingPair\n"
|
"struct b3CompoundOverlappingPair\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user