mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
74 lines
3.2 KiB
C#
74 lines
3.2 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 = "GearConstraintPart_Create")]
|
|
public static partial GearConstraintPart GearConstraintPart_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_Destroy")]
|
|
public static partial void GearConstraintPart_Destroy(GearConstraintPart self);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.CalculateConstraintProperties(Body, float3, Body, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_CalculateConstraintProperties")]
|
|
public static partial void GearConstraintPart_CalculateConstraintProperties(
|
|
GearConstraintPart self,
|
|
Body body1,
|
|
float3 worldSpaceHingeAxis1,
|
|
Body body2,
|
|
float3 worldSpaceHingeAxis2,
|
|
float ratio
|
|
);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.Deactivate()"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_Deactivate")]
|
|
public static partial void GearConstraintPart_Deactivate(GearConstraintPart self);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_IsActive")]
|
|
public static partial Brutal.Bool8 GearConstraintPart_IsActive(GearConstraintPart self);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.WarmStart(Body, Body, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_WarmStart")]
|
|
public static partial void GearConstraintPart_WarmStart(
|
|
GearConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float warmStartImpulseRatio
|
|
);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.SolveVelocityConstraint(Body, float3, Body, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 GearConstraintPart_SolveVelocityConstraint(
|
|
GearConstraintPart self,
|
|
Body body1,
|
|
float3 worldSpaceHingeAxis1,
|
|
Body body2,
|
|
float3 worldSpaceHingeAxis2,
|
|
float ratio
|
|
);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.GetTotalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_GetTotalLambda")]
|
|
public static partial float GearConstraintPart_GetTotalLambda(GearConstraintPart self);
|
|
|
|
/// <inheritdoc cref="GearConstraintPart.SolvePositionConstraint(Body, Body, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "GearConstraintPart_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 GearConstraintPart_SolvePositionConstraint(
|
|
GearConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float c,
|
|
float baumgarte
|
|
);
|
|
}
|
|
}
|
|
}
|