JPH_BodyInterface_AddImpulse function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Pointer<JPH_Vec3>)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Pointer<JPH_Vec3>)>(isLeaf: true)
void JPH_BodyInterface_AddImpulse(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyId,
  3. Pointer<JPH_Vec3> impulse
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    ffi.Pointer<JPH_Vec3>,
  )
>(isLeaf: true)
external void JPH_BodyInterface_AddImpulse(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyId,
  ffi.Pointer<JPH_Vec3> impulse,
);