//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
///
///
/// C++:
/// Jolt/Geometry/EPAConvexHullBuilder.h:24
///
/// class EPAConvexHullBuilder : public NonCopyable
///
///
///
///
/// A convex hull builder specifically made for the EPA penetration depth calculation. It trades accuracy for
/// speed and will simply abort of the hull forms defects due to numerical precision problems.
///
///
[InteropHandle]
public readonly partial struct EPAConvexHullBuilder
{
///
///
/// C++:
/// Jolt/Geometry/EPAConvexHullBuilder.h:234
///
/// void Initialize(int inIdx1, int inIdx2, int inIdx3)
///
///
///
///
/// Initialize the hull with 3 points
///
///
public void Initialize(int idx1, int idx2, int idx3) => Jolt.PInvoke.EPAConvexHullBuilder_Initialize(this, idx1, idx2, idx3);
///
///
/// C++:
/// Jolt/Geometry/EPAConvexHullBuilder.h:262
///
/// bool HasNextTriangle() const
///
///
///
///
/// Check if there's another triangle to process from the queue
///
///
public bool HasNextTriangle() => Jolt.PInvoke.EPAConvexHullBuilder_HasNextTriangle(this);
}
}