mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
139 lines
6.1 KiB
C#
139 lines
6.1 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 = "AngleConstraintPart_Create")]
|
|
public static partial AngleConstraintPart AngleConstraintPart_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_Destroy")]
|
|
public static partial void AngleConstraintPart_Destroy(AngleConstraintPart self);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.CalculateConstraintProperties(Body, Body, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_CalculateConstraintProperties")]
|
|
public static partial void AngleConstraintPart_CalculateConstraintProperties(
|
|
AngleConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float3 worldSpaceAxis,
|
|
float bias
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.CalculateConstraintPropertiesWithFrequencyAndDamping(float, Body, Body, float3, float, float, float, float)"/>
|
|
[LibraryImport(
|
|
"jolt",
|
|
EntryPoint = "AngleConstraintPart_CalculateConstraintPropertiesWithFrequencyAndDamping"
|
|
)]
|
|
public static partial void AngleConstraintPart_CalculateConstraintPropertiesWithFrequencyAndDamping(
|
|
AngleConstraintPart self,
|
|
float deltaTime,
|
|
Body body1,
|
|
Body body2,
|
|
float3 worldSpaceAxis,
|
|
float bias,
|
|
float c,
|
|
float frequency,
|
|
float damping
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.CalculateConstraintPropertiesWithStiffnessAndDamping(float, Body, Body, float3, float, float, float, float)"/>
|
|
[LibraryImport(
|
|
"jolt",
|
|
EntryPoint = "AngleConstraintPart_CalculateConstraintPropertiesWithStiffnessAndDamping"
|
|
)]
|
|
public static partial void AngleConstraintPart_CalculateConstraintPropertiesWithStiffnessAndDamping(
|
|
AngleConstraintPart self,
|
|
float deltaTime,
|
|
Body body1,
|
|
Body body2,
|
|
float3 worldSpaceAxis,
|
|
float bias,
|
|
float c,
|
|
float stiffness,
|
|
float damping
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.CalculateConstraintPropertiesWithSettingsForLimit(float, Body, Body, float3, float, float, SpringSettings)"/>
|
|
[LibraryImport(
|
|
"jolt",
|
|
EntryPoint = "AngleConstraintPart_CalculateConstraintPropertiesWithSettingsForLimit"
|
|
)]
|
|
public static partial void AngleConstraintPart_CalculateConstraintPropertiesWithSettingsForLimit(
|
|
AngleConstraintPart self,
|
|
float deltaTime,
|
|
Body body1,
|
|
Body body2,
|
|
float3 worldSpaceAxis,
|
|
float bias,
|
|
float c,
|
|
SpringSettings springSettings
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.CalculateConstraintPropertiesWithSettingsForMotor(float, Body, Body, float3, float, float, SpringSettings)"/>
|
|
[LibraryImport(
|
|
"jolt",
|
|
EntryPoint = "AngleConstraintPart_CalculateConstraintPropertiesWithSettingsForMotor"
|
|
)]
|
|
public static partial void AngleConstraintPart_CalculateConstraintPropertiesWithSettingsForMotor(
|
|
AngleConstraintPart self,
|
|
float deltaTime,
|
|
Body body1,
|
|
Body body2,
|
|
float3 worldSpaceAxis,
|
|
float bias,
|
|
float c,
|
|
SpringSettings springSettings
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.Deactivate()"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_Deactivate")]
|
|
public static partial void AngleConstraintPart_Deactivate(AngleConstraintPart self);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_IsActive")]
|
|
public static partial Brutal.Bool8 AngleConstraintPart_IsActive(AngleConstraintPart self);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.WarmStart(Body, Body, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_WarmStart")]
|
|
public static partial void AngleConstraintPart_WarmStart(
|
|
AngleConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float warmStartImpulseRatio
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.SolveVelocityConstraint(Body, Body, float3, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 AngleConstraintPart_SolveVelocityConstraint(
|
|
AngleConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float3 worldSpaceAxis,
|
|
float minLambda,
|
|
float maxLambda
|
|
);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.GetTotalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_GetTotalLambda")]
|
|
public static partial float AngleConstraintPart_GetTotalLambda(AngleConstraintPart self);
|
|
|
|
/// <inheritdoc cref="AngleConstraintPart.SolvePositionConstraint(Body, Body, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "AngleConstraintPart_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 AngleConstraintPart_SolvePositionConstraint(
|
|
AngleConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float c,
|
|
float baumgarte
|
|
);
|
|
}
|
|
}
|
|
}
|