mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
75 lines
3.7 KiB
C#
75 lines
3.7 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 = "RotationQuatConstraintPart_Create")]
|
|
public static partial RotationQuatConstraintPart RotationQuatConstraintPart_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_Destroy")]
|
|
public static partial void RotationQuatConstraintPart_Destroy(RotationQuatConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.GetInvInitialOrientation(Body, Body)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_GetInvInitialOrientation")]
|
|
public static partial floatQuat RotationQuatConstraintPart_GetInvInitialOrientation(Body body1, Body body2);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.CalculateConstraintProperties(Body, in float4x4, Body, in float4x4, floatQuat)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_CalculateConstraintProperties")]
|
|
public static partial void RotationQuatConstraintPart_CalculateConstraintProperties(
|
|
RotationQuatConstraintPart self,
|
|
Body body1,
|
|
in float4x4 rotation1,
|
|
Body body2,
|
|
in float4x4 rotation2,
|
|
floatQuat invInitialOrientation
|
|
);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.Deactivate()"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_Deactivate")]
|
|
public static partial void RotationQuatConstraintPart_Deactivate(RotationQuatConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_IsActive")]
|
|
public static partial Brutal.Bool8 RotationQuatConstraintPart_IsActive(RotationQuatConstraintPart self);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.WarmStart(Body, Body, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_WarmStart")]
|
|
public static partial void RotationQuatConstraintPart_WarmStart(
|
|
RotationQuatConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
float warmStartImpulseRatio
|
|
);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.SolveVelocityConstraint(Body, Body)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 RotationQuatConstraintPart_SolveVelocityConstraint(
|
|
RotationQuatConstraintPart self,
|
|
Body body1,
|
|
Body body2
|
|
);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.SolvePositionConstraint(Body, Body, floatQuat, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 RotationQuatConstraintPart_SolvePositionConstraint(
|
|
RotationQuatConstraintPart self,
|
|
Body body1,
|
|
Body body2,
|
|
floatQuat invInitialOrientation,
|
|
float baumgarte
|
|
);
|
|
|
|
/// <inheritdoc cref="RotationQuatConstraintPart.GetTotalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "RotationQuatConstraintPart_GetTotalLambda")]
|
|
public static partial float3 RotationQuatConstraintPart_GetTotalLambda(RotationQuatConstraintPart self);
|
|
}
|
|
}
|
|
}
|