mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
37 lines
1.3 KiB
C#
37 lines
1.3 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="ConvexHullBuilder2D.Create(ReadOnlySpan{float3})"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullBuilder2D_Create")]
|
|
public static partial ConvexHullBuilder2D ConvexHullBuilder2D_Create(
|
|
float3* positions,
|
|
nuint positionsCount
|
|
);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullBuilder2D_Destroy")]
|
|
public static partial void ConvexHullBuilder2D_Destroy(ConvexHullBuilder2D self);
|
|
|
|
/// <inheritdoc cref="ConvexHullBuilder2D.Initialize(int, int, int, int, float, out NativeArray{int})"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullBuilder2D_Initialize")]
|
|
public static partial ConvexHullBuilder2D.Result ConvexHullBuilder2D_Initialize(
|
|
ConvexHullBuilder2D self,
|
|
int idx1,
|
|
int idx2,
|
|
int idx3,
|
|
int maxVertices,
|
|
float tolerance,
|
|
out nint edges
|
|
);
|
|
}
|
|
}
|
|
}
|