This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,50 @@
// <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="PolyhedronSubmergedVolumeCalculator.AreAllAbove()"/>
[LibraryImport("jolt", EntryPoint = "PolyhedronSubmergedVolumeCalculator_AreAllAbove")]
public static partial Brutal.Bool8 PolyhedronSubmergedVolumeCalculator_AreAllAbove(
PolyhedronSubmergedVolumeCalculator self
);
/// <inheritdoc cref="PolyhedronSubmergedVolumeCalculator.AreAllBelow()"/>
[LibraryImport("jolt", EntryPoint = "PolyhedronSubmergedVolumeCalculator_AreAllBelow")]
public static partial Brutal.Bool8 PolyhedronSubmergedVolumeCalculator_AreAllBelow(
PolyhedronSubmergedVolumeCalculator self
);
/// <inheritdoc cref="PolyhedronSubmergedVolumeCalculator.GetReferencePointIdx()"/>
[LibraryImport("jolt", EntryPoint = "PolyhedronSubmergedVolumeCalculator_GetReferencePointIdx")]
public static partial int PolyhedronSubmergedVolumeCalculator_GetReferencePointIdx(
PolyhedronSubmergedVolumeCalculator self
);
/// <inheritdoc cref="PolyhedronSubmergedVolumeCalculator.AddFace(int, int, int)"/>
[LibraryImport("jolt", EntryPoint = "PolyhedronSubmergedVolumeCalculator_AddFace")]
public static partial void PolyhedronSubmergedVolumeCalculator_AddFace(
PolyhedronSubmergedVolumeCalculator self,
int idx1,
int idx2,
int idx3
);
/// <inheritdoc cref="PolyhedronSubmergedVolumeCalculator.GetResult(out float, out float3)"/>
[LibraryImport("jolt", EntryPoint = "PolyhedronSubmergedVolumeCalculator_GetResult")]
public static partial void PolyhedronSubmergedVolumeCalculator_GetResult(
PolyhedronSubmergedVolumeCalculator self,
out float submergedVolume,
out float3 centerOfBuoyancy
);
}
}
}