mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,67 @@
|
|||
// <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
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/TriangleSplitter/TriangleSplitter.h#L29">Jolt/TriangleSplitter/TriangleSplitter.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void GetStats(Stats &outStats) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get stats of splitter
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "TriangleSplitter_GetStats")]
|
||||
public static partial void TriangleSplitter_GetStats(TriangleSplitter self, ref TriangleSplitter.Stats stats);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/TriangleSplitter/TriangleSplitter.h#L60">Jolt/TriangleSplitter/TriangleSplitter.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>virtual bool Split(const Range &inTriangles, Range &outLeft, Range &outRight) = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Split triangles into two groups left and right, returns false if no split could be made
|
||||
/// @param inTriangles The range of triangles (in mSortedTriangleIdx) to process
|
||||
/// @param outLeft On return this will contain the ranges for the left subpart. mSortedTriangleIdx may have been shuffled.
|
||||
/// @param outRight On return this will contain the ranges for the right subpart. mSortedTriangleIdx may have been shuffled.
|
||||
/// @return Returns true when a split was found
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "TriangleSplitter_Split")]
|
||||
public static partial Brutal.Bool8 TriangleSplitter_Split(TriangleSplitter self, ref TriangleSplitter.Range triangles, ref TriangleSplitter.Range left, ref TriangleSplitter.Range right);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/TriangleSplitter/TriangleSplitter.h#L69">Jolt/TriangleSplitter/TriangleSplitter.h:69</see>
|
||||
/// <br/>
|
||||
/// <c>const IndexedTriangle & GetTriangle(uint inIdx) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get triangle by index
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "TriangleSplitter_GetTriangle")]
|
||||
public static partial IndexedTriangle TriangleSplitter_GetTriangle(TriangleSplitter self, uint idx);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue