mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 13:38:25 +01:00
68 lines
2.6 KiB
C#
68 lines
2.6 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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexHullBuilder2D.h#L14">Jolt/Geometry/ConvexHullBuilder2D.h:14</see>
|
|
/// <br/>
|
|
/// <c>class ConvexHullBuilder2D : public NonCopyable</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// A convex hull builder that tries to create 2D hulls as accurately as possible. Used for offline processing.
|
|
/// </para>
|
|
/// </remarks>
|
|
[InteropHandle]
|
|
public readonly partial struct ConvexHullBuilder2D : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexHullBuilder2D.h#L28">Jolt/Geometry/ConvexHullBuilder2D.h:28</see>
|
|
/// <br/>
|
|
/// <c>enum class EResult</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Result enum that indicates how the hull got created
|
|
/// </para>
|
|
/// </remarks>
|
|
public enum EResult : int
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Hull building finished successfully
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexHullBuilder2D.h#L30">Jolt/Geometry/ConvexHullBuilder2D.h:30</see>
|
|
/// <br/>
|
|
/// <c>Success</c>
|
|
/// </para>
|
|
/// </summary>
|
|
Success,
|
|
/// <summary>
|
|
/// <para>
|
|
/// Hull building finished successfully, but the desired accuracy was not reached because the max
|
|
/// vertices limit was reached
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexHullBuilder2D.h#L31">Jolt/Geometry/ConvexHullBuilder2D.h:31</see>
|
|
/// <br/>
|
|
/// <c>MaxVerticesReached</c>
|
|
/// </para>
|
|
/// </summary>
|
|
MaxVerticesReached,
|
|
}
|
|
public void Dispose() => Jolt.PInvoke.ConvexHullBuilder2D_Destroy(this);
|
|
}
|
|
}
|