JPH_Shape_GetSupportingFace function
- @Native<Void Function(Pointer<JPH_Shape>, JPH_SubShapeID, Pointer<JPH_Vec3>, Pointer<JPH_Vec3>, Pointer<JPH_RMat4>, Pointer<JPH_SupportingFace>)>(ffi.Pointer<JPH_Shape>, JPH_SubShapeID, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Mat4>, ffi.Pointer<JPH_SupportingFace>)>()
void
JPH_Shape_GetSupportingFace(
- Pointer<JPH_Shape> shape,
- int subShapeID,
- Pointer<JPH_Vec3> direction,
- Pointer<JPH_Vec3> scale,
- Pointer<JPH_RMat4> centerOfMassTransform,
- Pointer<JPH_SupportingFace> outVertices,
)
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<JPH_Shape>,
JPH_SubShapeID,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_Mat4>,
ffi.Pointer<JPH_SupportingFace>,
)
>()
external void JPH_Shape_GetSupportingFace(
ffi.Pointer<JPH_Shape> shape,
int subShapeID,
ffi.Pointer<JPH_Vec3> direction,
ffi.Pointer<JPH_Vec3> scale,
ffi.Pointer<JPH_Mat4> centerOfMassTransform,
ffi.Pointer<JPH_SupportingFace> outVertices,
);