brutal/Brutal.Jolt/Generated/PInvoke/HingeRotationConstraintPart.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

63 lines
2.9 KiB
C#

// <auto-generated/>
// 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 = "HingeRotationConstraintPart_Create")]
public static partial HingeRotationConstraintPart HingeRotationConstraintPart_Create();
[LibraryImport("jolt", EntryPoint = "HingeRotationConstraintPart_Destroy")]
public static partial void HingeRotationConstraintPart_Destroy(HingeRotationConstraintPart self);
/// <inheritdoc cref="HingeRotationConstraintPart.CalculateConstraintProperties(Body, in float4x4, float3, Body, in float4x4, float3)"/>
[LibraryImport("jolt", EntryPoint = "HingeRotationConstraintPart_CalculateConstraintProperties")]
public static partial void HingeRotationConstraintPart_CalculateConstraintProperties(
HingeRotationConstraintPart self,
Body body1,
in float4x4 rotation1,
float3 worldSpaceHingeAxis1,
Body body2,
in float4x4 rotation2,
float3 worldSpaceHingeAxis2
);
/// <inheritdoc cref="HingeRotationConstraintPart.Deactivate()"/>
[LibraryImport("jolt", EntryPoint = "HingeRotationConstraintPart_Deactivate")]
public static partial void HingeRotationConstraintPart_Deactivate(HingeRotationConstraintPart self);
/// <inheritdoc cref="HingeRotationConstraintPart.WarmStart(Body, Body, float)"/>
[LibraryImport("jolt", EntryPoint = "HingeRotationConstraintPart_WarmStart")]
public static partial void HingeRotationConstraintPart_WarmStart(
HingeRotationConstraintPart self,
Body body1,
Body body2,
float warmStartImpulseRatio
);
/// <inheritdoc cref="HingeRotationConstraintPart.SolveVelocityConstraint(Body, Body)"/>
[LibraryImport("jolt", EntryPoint = "HingeRotationConstraintPart_SolveVelocityConstraint")]
public static partial Brutal.Bool8 HingeRotationConstraintPart_SolveVelocityConstraint(
HingeRotationConstraintPart self,
Body body1,
Body body2
);
/// <inheritdoc cref="HingeRotationConstraintPart.SolvePositionConstraint(Body, Body, float)"/>
[LibraryImport("jolt", EntryPoint = "HingeRotationConstraintPart_SolvePositionConstraint")]
public static partial Brutal.Bool8 HingeRotationConstraintPart_SolvePositionConstraint(
HingeRotationConstraintPart self,
Body body1,
Body body2,
float baumgarte
);
}
}
}