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

View file

@ -0,0 +1,58 @@
// <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="IndexedTriangle.Create(uint, uint, uint, uint, uint)"/>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_Create")]
public static partial void IndexedTriangle_Create(
uint i1,
uint i2,
uint i3,
uint materialIndex,
uint userData,
out IndexedTriangle outResult
);
/// <summary>
/// <para>
/// Rotate the vertices so that the lowest vertex becomes the first. This does not change the
/// represented triangle.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/IndexedTriangle.h#L94">Jolt/Geometry/IndexedTriangle.h:94</see>
/// <br/>
/// <c>IndexedTriangle GetLowestIndexFirst() const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetLowestIndexFirst")]
public static partial void IndexedTriangle_GetLowestIndexFirst(
ref IndexedTriangle self,
out IndexedTriangle outResult
);
/// <summary>
/// <para>
/// Get the hash value of this structure
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/IndexedTriangle.h#L113">Jolt/Geometry/IndexedTriangle.h:113</see>
/// <br/>
/// <c>uint64 GetHash() const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetHash")]
public static partial ulong IndexedTriangle_GetHash(ref IndexedTriangle self);
}
}
}