|
@@ -218,6 +218,11 @@ JPC_API JPC_Vec3 JPC_Shape_GetCenterOfMass(const JPC_Shape* self);
|
|
|
|
|
|
typedef struct JPC_CompoundShape JPC_CompoundShape;
|
|
|
|
|
|
+// FIXME: The real API should return a new type, JPC_CompoundShape_SubShape*
|
|
|
+JPC_API const JPC_Shape* JPC_CompoundShape_GetSubShape_Shape(
|
|
|
+ const JPC_CompoundShape* self,
|
|
|
+ uint inIdx);
|
|
|
+
|
|
|
JPC_API uint32_t JPC_CompoundShape_GetSubShapeIndexFromID(
|
|
|
const JPC_CompoundShape* self,
|
|
|
JPC_SubShapeID inSubShapeID,
|