fix build3/stringify.sh
fix some compile issues
This commit is contained in:
@@ -404,17 +404,33 @@ static const char* mprKernelsCL= \
|
||||
" int m_compoundBvhIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" float m_height;\n"
|
||||
" };\n"
|
||||
"};\n"
|
||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||
"struct b3GpuChildShape\n"
|
||||
"{\n"
|
||||
" b3Float4 m_childPosition;\n"
|
||||
" b3Quat m_childOrientation;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" int m_unused0;\n"
|
||||
" int m_unused1;\n"
|
||||
" int m_unused2;\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"
|
||||
"};\n"
|
||||
"struct b3CompoundOverlappingPair\n"
|
||||
"{\n"
|
||||
|
||||
@@ -281,17 +281,33 @@ static const char* satClipKernelsCL= \
|
||||
" int m_compoundBvhIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" float m_height;\n"
|
||||
" };\n"
|
||||
"};\n"
|
||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||
"struct b3GpuChildShape\n"
|
||||
"{\n"
|
||||
" b3Float4 m_childPosition;\n"
|
||||
" b3Quat m_childOrientation;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" int m_unused0;\n"
|
||||
" int m_unused1;\n"
|
||||
" int m_unused2;\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"
|
||||
"};\n"
|
||||
"struct b3CompoundOverlappingPair\n"
|
||||
"{\n"
|
||||
|
||||
@@ -363,17 +363,33 @@ static const char* updateAabbsKernelCL= \
|
||||
" int m_compoundBvhIndex;\n"
|
||||
" };\n"
|
||||
" int m_shapeType;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" union\n"
|
||||
" {\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" float m_height;\n"
|
||||
" };\n"
|
||||
"};\n"
|
||||
"typedef struct b3GpuChildShape b3GpuChildShape_t;\n"
|
||||
"struct b3GpuChildShape\n"
|
||||
"{\n"
|
||||
" b3Float4 m_childPosition;\n"
|
||||
" b3Quat m_childOrientation;\n"
|
||||
" int m_shapeIndex;\n"
|
||||
" int m_unused0;\n"
|
||||
" int m_unused1;\n"
|
||||
" int m_unused2;\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"
|
||||
"};\n"
|
||||
"struct b3CompoundOverlappingPair\n"
|
||||
"{\n"
|
||||
|
||||
Reference in New Issue
Block a user