//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
///
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Create")]
public static partial CollideShapeResult CollideShapeResult_Create();
///
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Create_2")]
public static partial CollideShapeResult CollideShapeResult_Create_2(
float3 contactPointOn1,
float3 contactPointOn2,
float3 penetrationAxis,
float penetrationDepth,
uint subShapeID1,
uint subShapeID2,
uint bodyID2
);
///
///
/// Function required by the CollisionCollector. A smaller fraction is considered to be a 'better hit'.
/// We use -penetration depth to get the hit with the biggest penetration depth
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:39
///
/// inline float GetEarlyOutFraction() const
///
///
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetEarlyOutFraction")]
public static partial float CollideShapeResult_GetEarlyOutFraction(ref CollideShapeResult self);
///
///
/// Reverses the hit result, swapping contact point 1 with contact point 2 etc.
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:42
///
/// inline CollideShapeResult Reversed() const
///
///
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Reversed")]
public static partial CollideShapeResult CollideShapeResult_Reversed(ref CollideShapeResult self);
}
}
}