//
// 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 = "IndependentAxisConstraintPart_Create")]
public static partial IndependentAxisConstraintPart IndependentAxisConstraintPart_Create();
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_Destroy")]
public static partial void IndependentAxisConstraintPart_Destroy(IndependentAxisConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_CalculateConstraintProperties")]
public static partial void IndependentAxisConstraintPart_CalculateConstraintProperties(
IndependentAxisConstraintPart self,
Body body1,
Body body2,
float3 r1,
float3 n1,
float3 r2,
float3 n2,
float ratio
);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_Deactivate")]
public static partial void IndependentAxisConstraintPart_Deactivate(IndependentAxisConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_IsActive")]
public static partial Brutal.Bool8 IndependentAxisConstraintPart_IsActive(
IndependentAxisConstraintPart self
);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_WarmStart")]
public static partial void IndependentAxisConstraintPart_WarmStart(
IndependentAxisConstraintPart self,
Body body1,
Body body2,
float3 n1,
float3 n2,
float ratio,
float warmStartImpulseRatio
);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_SolveVelocityConstraint")]
public static partial Brutal.Bool8 IndependentAxisConstraintPart_SolveVelocityConstraint(
IndependentAxisConstraintPart self,
Body body1,
Body body2,
float3 n1,
float3 n2,
float ratio,
float minLambda,
float maxLambda
);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_GetTotalLambda")]
public static partial float IndependentAxisConstraintPart_GetTotalLambda(
IndependentAxisConstraintPart self
);
///
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_SolvePositionConstraint")]
public static partial Brutal.Bool8 IndependentAxisConstraintPart_SolvePositionConstraint(
IndependentAxisConstraintPart self,
Body body1,
Body body2,
float3 n1,
float3 n2,
float ratio,
float c,
float baumgarte
);
}
}
}