mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
58
Brutal.Jolt/Generated/PInvoke/IndexedTriangle.gen.cs
Normal file
58
Brutal.Jolt/Generated/PInvoke/IndexedTriangle.gen.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue