//
// 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 = "GearConstraintPart_Create")]
public static partial GearConstraintPart GearConstraintPart_Create();
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_Destroy")]
public static partial void GearConstraintPart_Destroy(GearConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_CalculateConstraintProperties")]
public static partial void GearConstraintPart_CalculateConstraintProperties(
GearConstraintPart self,
Body body1,
float3 worldSpaceHingeAxis1,
Body body2,
float3 worldSpaceHingeAxis2,
float ratio
);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_Deactivate")]
public static partial void GearConstraintPart_Deactivate(GearConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_IsActive")]
public static partial Brutal.Bool8 GearConstraintPart_IsActive(GearConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_WarmStart")]
public static partial void GearConstraintPart_WarmStart(
GearConstraintPart self,
Body body1,
Body body2,
float warmStartImpulseRatio
);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_SolveVelocityConstraint")]
public static partial Brutal.Bool8 GearConstraintPart_SolveVelocityConstraint(
GearConstraintPart self,
Body body1,
float3 worldSpaceHingeAxis1,
Body body2,
float3 worldSpaceHingeAxis2,
float ratio
);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_GetTotalLambda")]
public static partial float GearConstraintPart_GetTotalLambda(GearConstraintPart self);
///
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_SolvePositionConstraint")]
public static partial Brutal.Bool8 GearConstraintPart_SolvePositionConstraint(
GearConstraintPart self,
Body body1,
Body body2,
float c,
float baumgarte
);
}
}
}