JPH_Shape_GetSupportingFace function

  1. @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(
  1. Pointer<JPH_Shape> shape,
  2. int subShapeID,
  3. Pointer<JPH_Vec3> direction,
  4. Pointer<JPH_Vec3> scale,
  5. Pointer<JPH_RMat4> centerOfMassTransform,
  6. 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,
);