//
// 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 = "RackAndPinionConstraintPart_Create")]
public static partial RackAndPinionConstraintPart RackAndPinionConstraintPart_Create();
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_Destroy")]
public static partial void RackAndPinionConstraintPart_Destroy(RackAndPinionConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_CalculateConstraintProperties")]
public static partial void RackAndPinionConstraintPart_CalculateConstraintProperties(
RackAndPinionConstraintPart self,
Body body1,
float3 worldSpaceHingeAxis,
Body body2,
float3 worldSpaceSliderAxis,
float ratio
);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_Deactivate")]
public static partial void RackAndPinionConstraintPart_Deactivate(RackAndPinionConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_IsActive")]
public static partial Brutal.Bool8 RackAndPinionConstraintPart_IsActive(RackAndPinionConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_WarmStart")]
public static partial void RackAndPinionConstraintPart_WarmStart(
RackAndPinionConstraintPart self,
Body body1,
Body body2,
float warmStartImpulseRatio
);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_SolveVelocityConstraint")]
public static partial Brutal.Bool8 RackAndPinionConstraintPart_SolveVelocityConstraint(
RackAndPinionConstraintPart self,
Body body1,
float3 worldSpaceHingeAxis,
Body body2,
float3 worldSpaceSliderAxis,
float ratio
);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_GetTotalLambda")]
public static partial float RackAndPinionConstraintPart_GetTotalLambda(RackAndPinionConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_SolvePositionConstraint")]
public static partial Brutal.Bool8 RackAndPinionConstraintPart_SolvePositionConstraint(
RackAndPinionConstraintPart self,
Body body1,
Body body2,
float c,
float baumgarte
);
}
}
}