mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
50 lines
2.2 KiB
C#
50 lines
2.2 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="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
|
|
);
|
|
}
|
|
}
|
|
}
|