JPH_Shape_GetCenterOfMass function

  1. @Native<Void Function(Pointer<JPH_Shape>, Pointer<JPH_Vec3>)>(ffi.Pointer<JPH_Shape>, ffi.Pointer<JPH_Vec3>)>()
void JPH_Shape_GetCenterOfMass(
  1. Pointer<JPH_Shape> shape,
  2. Pointer<JPH_Vec3> result
)

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<JPH_Shape>, ffi.Pointer<JPH_Vec3>)>()
external void JPH_Shape_GetCenterOfMass(
  ffi.Pointer<JPH_Shape> shape,
  ffi.Pointer<JPH_Vec3> result,
);