JPH_Shape_GetSurfaceNormal function

  1. @Native<Void Function(Pointer<JPH_Shape>, JPH_SubShapeID, Pointer<JPH_Vec3>, Pointer<JPH_Vec3>)>(ffi.Pointer<JPH_Shape>, JPH_SubShapeID, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Vec3>)>()
void JPH_Shape_GetSurfaceNormal(
  1. Pointer<JPH_Shape> shape,
  2. int subShapeID,
  3. Pointer<JPH_Vec3> localPosition,
  4. Pointer<JPH_Vec3> normal,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_Shape>,
    JPH_SubShapeID,
    ffi.Pointer<JPH_Vec3>,
    ffi.Pointer<JPH_Vec3>,
  )
>()
external void JPH_Shape_GetSurfaceNormal(
  ffi.Pointer<JPH_Shape> shape,
  int subShapeID,
  ffi.Pointer<JPH_Vec3> localPosition,
  ffi.Pointer<JPH_Vec3> normal,
);