mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
88 lines
3.8 KiB
C#
88 lines
3.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="MutableCompoundShape.Create()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_Create")]
|
|
public static partial MutableCompoundShape MutableCompoundShape_Create();
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.Create(MutableCompoundShapeSettings)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_Create_2")]
|
|
public static partial MutableCompoundShape MutableCompoundShape_Create_2(
|
|
MutableCompoundShapeSettings settings
|
|
);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.Clone()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_Clone")]
|
|
public static partial MutableCompoundShape MutableCompoundShape_Clone(MutableCompoundShape self);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.AddShape(float3, floatQuat, Shape, uint, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_AddShape")]
|
|
public static partial uint MutableCompoundShape_AddShape(
|
|
MutableCompoundShape self,
|
|
float3 position,
|
|
floatQuat rotation,
|
|
Shape shape,
|
|
uint userData,
|
|
uint index
|
|
);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.RemoveShape(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_RemoveShape")]
|
|
public static partial void MutableCompoundShape_RemoveShape(
|
|
MutableCompoundShape self,
|
|
uint index,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.ModifyShape(uint, float3, floatQuat)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_ModifyShape")]
|
|
public static partial void MutableCompoundShape_ModifyShape(
|
|
MutableCompoundShape self,
|
|
uint index,
|
|
float3 position,
|
|
floatQuat rotation,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.ModifyShape(uint, float3, floatQuat, Shape)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_ModifyShape_2")]
|
|
public static partial void MutableCompoundShape_ModifyShape_2(
|
|
MutableCompoundShape self,
|
|
uint index,
|
|
float3 position,
|
|
floatQuat rotation,
|
|
Shape shape,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.AdjustCenterOfMass()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_AdjustCenterOfMass")]
|
|
public static partial void MutableCompoundShape_AdjustCenterOfMass(MutableCompoundShape self);
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.Register()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_Register")]
|
|
public static partial void MutableCompoundShape_Register();
|
|
|
|
/// <inheritdoc cref="MutableCompoundShape.ModifyShapes(uint, ReadOnlySpan{float3}, ReadOnlySpan{floatQuat})"/>
|
|
[LibraryImport("jolt", EntryPoint = "MutableCompoundShape_ModifyShapes")]
|
|
public static partial void MutableCompoundShape_ModifyShapes(
|
|
MutableCompoundShape self,
|
|
uint startIndex,
|
|
float3* positions,
|
|
nuint positionsCount,
|
|
floatQuat* rotations,
|
|
nuint rotationsCount
|
|
);
|
|
}
|
|
}
|
|
}
|