mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
71 lines
3.1 KiB
C#
71 lines
3.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 = "PointConstraintPart_Create")]
|
|
public static partial PointConstraintPart PointConstraintPart_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_Destroy")]
|
|
public static partial void PointConstraintPart_Destroy(PointConstraintPart self);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.CalculateConstraintProperties(Body, in float4x4, float3, Body, in float4x4, float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_CalculateConstraintProperties")]
|
|
public static partial void PointConstraintPart_CalculateConstraintProperties(
|
|
PointConstraintPart self,
|
|
Body body1,
|
|
in float4x4 rotation1,
|
|
float3 r1,
|
|
Body body2,
|
|
in float4x4 rotation2,
|
|
float3 r2
|
|
);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.Deactivate()"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_Deactivate")]
|
|
public static partial void PointConstraintPart_Deactivate(PointConstraintPart self);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_IsActive")]
|
|
public static partial Brutal.Bool8 PointConstraintPart_IsActive(PointConstraintPart self);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.WarmStart(Body, Body, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_WarmStart")]
|
|
public static partial void PointConstraintPart_WarmStart(
|
|
PointConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float warmStartImpulseRatio
|
|
);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.SolveVelocityConstraint(Body, Body)"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 PointConstraintPart_SolveVelocityConstraint(
|
|
PointConstraintPart self,
|
|
Body body1,
|
|
Body body2
|
|
);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.SolvePositionConstraint(Body, Body, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 PointConstraintPart_SolvePositionConstraint(
|
|
PointConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float baumgarte
|
|
);
|
|
|
|
/// <inheritdoc cref="PointConstraintPart.GetTotalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "PointConstraintPart_GetTotalLambda")]
|
|
public static partial float3 PointConstraintPart_GetTotalLambda(PointConstraintPart self);
|
|
}
|
|
}
|
|
}
|