mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
88 lines
3.9 KiB
C#
88 lines
3.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 = "IndependentAxisConstraintPart_Create")]
|
|
public static partial IndependentAxisConstraintPart IndependentAxisConstraintPart_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_Destroy")]
|
|
public static partial void IndependentAxisConstraintPart_Destroy(IndependentAxisConstraintPart self);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.CalculateConstraintProperties(Body, Body, float3, float3, float3, float3, float)"/>
|
|
[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
|
|
);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.Deactivate()"/>
|
|
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_Deactivate")]
|
|
public static partial void IndependentAxisConstraintPart_Deactivate(IndependentAxisConstraintPart self);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_IsActive")]
|
|
public static partial Brutal.Bool8 IndependentAxisConstraintPart_IsActive(
|
|
IndependentAxisConstraintPart self
|
|
);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.WarmStart(Body, Body, float3, float3, float, float)"/>
|
|
[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
|
|
);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.SolveVelocityConstraint(Body, Body, float3, float3, float, float, float)"/>
|
|
[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
|
|
);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.GetTotalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "IndependentAxisConstraintPart_GetTotalLambda")]
|
|
public static partial float IndependentAxisConstraintPart_GetTotalLambda(
|
|
IndependentAxisConstraintPart self
|
|
);
|
|
|
|
/// <inheritdoc cref="IndependentAxisConstraintPart.SolvePositionConstraint(Body, Body, float3, float3, float, float, float)"/>
|
|
[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
|
|
);
|
|
}
|
|
}
|
|
}
|