mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
122 lines
5.8 KiB
C#
122 lines
5.8 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
|
|
{
|
|
/// <inheritdoc cref="ConstraintManager.Add(Ptr{Constraint}, int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_Add")]
|
|
public static partial void ConstraintManager_Add(
|
|
ConstraintManager self,
|
|
Constraint* constraints,
|
|
int number
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.Remove(Ptr{Constraint}, int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_Remove")]
|
|
public static partial void ConstraintManager_Remove(
|
|
ConstraintManager self,
|
|
Constraint* constraint,
|
|
int number
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.GetConstraints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_GetConstraints")]
|
|
public static partial nint ConstraintManager_GetConstraints(ConstraintManager self);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.GetNumConstraints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_GetNumConstraints")]
|
|
public static partial uint ConstraintManager_GetNumConstraints(ConstraintManager self);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.GetActiveConstraints(uint, uint, Ptr{Constraint}, out uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_GetActiveConstraints")]
|
|
public static partial void ConstraintManager_GetActiveConstraints(
|
|
ConstraintManager self,
|
|
uint startConstraintIdx,
|
|
uint endConstraintIdx,
|
|
Constraint* activeConstraints,
|
|
out uint numActiveConstraints
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.BuildIslands(Ptr{Constraint}, uint, IslandBuilder, BodyManager)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_BuildIslands")]
|
|
public static partial void ConstraintManager_BuildIslands(
|
|
Constraint* activeConstraints,
|
|
uint numActiveConstraints,
|
|
IslandBuilder builder,
|
|
BodyManager bodyManager
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.SortConstraints(Ptr{Constraint}, Ptr{uint}, Ptr{uint})"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_SortConstraints")]
|
|
public static partial void ConstraintManager_SortConstraints(
|
|
Constraint* activeConstraints,
|
|
uint* constraintIdxBegin,
|
|
uint* constraintIdxEnd
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.SetupVelocityConstraints(Ptr{Constraint}, uint, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_SetupVelocityConstraints")]
|
|
public static partial void ConstraintManager_SetupVelocityConstraints(
|
|
Constraint* activeConstraints,
|
|
uint numActiveConstraints,
|
|
float deltaTime
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.SolveVelocityConstraints(Ptr{Constraint}, Ptr{uint}, Ptr{uint}, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_SolveVelocityConstraints")]
|
|
public static partial Brutal.Bool8 ConstraintManager_SolveVelocityConstraints(
|
|
Constraint* activeConstraints,
|
|
uint* constraintIdxBegin,
|
|
uint* constraintIdxEnd,
|
|
float deltaTime
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.SolvePositionConstraints(Ptr{Constraint}, Ptr{uint}, Ptr{uint}, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_SolvePositionConstraints")]
|
|
public static partial Brutal.Bool8 ConstraintManager_SolvePositionConstraints(
|
|
Constraint* activeConstraints,
|
|
uint* constraintIdxBegin,
|
|
uint* constraintIdxEnd,
|
|
float deltaTime,
|
|
float baumgarte
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.DrawConstraints(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_DrawConstraints")]
|
|
public static partial void ConstraintManager_DrawConstraints(
|
|
ConstraintManager self,
|
|
DebugRenderer renderer
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.DrawConstraintLimits(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_DrawConstraintLimits")]
|
|
public static partial void ConstraintManager_DrawConstraintLimits(
|
|
ConstraintManager self,
|
|
DebugRenderer renderer
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.DrawConstraintReferenceFrame(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_DrawConstraintReferenceFrame")]
|
|
public static partial void ConstraintManager_DrawConstraintReferenceFrame(
|
|
ConstraintManager self,
|
|
DebugRenderer renderer
|
|
);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.LockAllConstraints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_LockAllConstraints")]
|
|
public static partial void ConstraintManager_LockAllConstraints(ConstraintManager self);
|
|
|
|
/// <inheritdoc cref="ConstraintManager.UnlockAllConstraints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConstraintManager_UnlockAllConstraints")]
|
|
public static partial void ConstraintManager_UnlockAllConstraints(ConstraintManager self);
|
|
}
|
|
}
|
|
}
|