JPH_Shape_CastRay function
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,
);