mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
74 lines
3.5 KiB
C#
74 lines
3.5 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 = "RackAndPinionConstraintPart_Create")]
|
|
public static partial RackAndPinionConstraintPart RackAndPinionConstraintPart_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_Destroy")]
|
|
public static partial void RackAndPinionConstraintPart_Destroy(RackAndPinionConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.CalculateConstraintProperties(Body, float3, Body, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_CalculateConstraintProperties")]
|
|
public static partial void RackAndPinionConstraintPart_CalculateConstraintProperties(
|
|
RackAndPinionConstraintPart self,
|
|
Body body1,
|
|
float3 worldSpaceHingeAxis,
|
|
Body body2,
|
|
float3 worldSpaceSliderAxis,
|
|
float ratio
|
|
);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.Deactivate()"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_Deactivate")]
|
|
public static partial void RackAndPinionConstraintPart_Deactivate(RackAndPinionConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_IsActive")]
|
|
public static partial Brutal.Bool8 RackAndPinionConstraintPart_IsActive(RackAndPinionConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.WarmStart(Body, Body, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_WarmStart")]
|
|
public static partial void RackAndPinionConstraintPart_WarmStart(
|
|
RackAndPinionConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float warmStartImpulseRatio
|
|
);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.SolveVelocityConstraint(Body, float3, Body, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 RackAndPinionConstraintPart_SolveVelocityConstraint(
|
|
RackAndPinionConstraintPart self,
|
|
Body body1,
|
|
float3 worldSpaceHingeAxis,
|
|
Body body2,
|
|
float3 worldSpaceSliderAxis,
|
|
float ratio
|
|
);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.GetTotalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_GetTotalLambda")]
|
|
public static partial float RackAndPinionConstraintPart_GetTotalLambda(RackAndPinionConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RackAndPinionConstraintPart.SolvePositionConstraint(Body, Body, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RackAndPinionConstraintPart_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 RackAndPinionConstraintPart_SolvePositionConstraint(
|
|
RackAndPinionConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float c,
|
|
float baumgarte
|
|
);
|
|
}
|
|
}
|
|
}
|