JPH_Shape_CastRay function

  1. @Native<Bool Function(Pointer<JPH_Shape>, Pointer<JPH_Vec3>, Pointer<JPH_Vec3>, Pointer<JPH_RayCastResult>)>(ffi.Pointer<JPH_Shape>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_RayCastResult>)>()
bool JPH_Shape_CastRay(
  1. Pointer<JPH_Shape> shape,
  2. Pointer<JPH_Vec3> origin,
  3. Pointer<JPH_Vec3> direction,
  4. Pointer<JPH_RayCastResult> hit,
)

Implementation

@ffi.Native<
  ffi.Bool Function(
    ffi.Pointer<JPH_Shape>,
    ffi.Pointer<JPH_Vec3>,
    ffi.Pointer<JPH_Vec3>,
    ffi.Pointer<JPH_RayCastResult>,
  )
>()
external bool JPH_Shape_CastRay(
  ffi.Pointer<JPH_Shape> shape,
  ffi.Pointer<JPH_Vec3> origin,
  ffi.Pointer<JPH_Vec3> direction,
  ffi.Pointer<JPH_RayCastResult> hit,
);