JPH_Shape_Draw function

  1. @Native<Void Function(Pointer<JPH_Shape>, Pointer<JPH_DebugRenderer>, Pointer<JPH_RMat4>, Pointer<JPH_Vec3>, JPH_Color, Bool, Bool)>(ffi.Pointer<JPH_Shape>, ffi.Pointer<JPH_DebugRenderer>, ffi.Pointer<JPH_RMat4>, ffi.Pointer<JPH_Vec3>, JPH_Color, ffi.Bool, ffi.Bool)>()
void JPH_Shape_Draw(
  1. Pointer<JPH_Shape> shape,
  2. Pointer<JPH_DebugRenderer> renderer,
  3. Pointer<JPH_RMat4> centerOfMassTransform,
  4. Pointer<JPH_Vec3> scale,
  5. int color,
  6. bool useMaterialColors,
  7. bool drawWireframe,
)

Shape

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_Shape>,
    ffi.Pointer<JPH_DebugRenderer>,
    ffi.Pointer<JPH_RMat4>,
    ffi.Pointer<JPH_Vec3>,
    JPH_Color,
    ffi.Bool,
    ffi.Bool,
  )
>()
external void JPH_Shape_Draw(
  ffi.Pointer<JPH_Shape> shape,
  ffi.Pointer<JPH_DebugRenderer> renderer,
  ffi.Pointer<JPH_RMat4> centerOfMassTransform,
  ffi.Pointer<JPH_Vec3> scale,
  int color,
  bool useMaterialColors,
  bool drawWireframe,
);