JPH_HeightFieldShape_ProjectOntoSurface function
Implementation
@ffi.Native<
ffi.Bool Function(
ffi.Pointer<JPH_HeightFieldShape>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_SubShapeID>,
)
>()
external bool JPH_HeightFieldShape_ProjectOntoSurface(
ffi.Pointer<JPH_HeightFieldShape> shape,
ffi.Pointer<JPH_Vec3> localPosition,
ffi.Pointer<JPH_Vec3> outSurfacePosition,
ffi.Pointer<JPH_SubShapeID> outSubShapeID,
);