mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38:25 +01:00
55 lines
2.2 KiB
C#
55 lines
2.2 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/EPAConvexHullBuilder.h#L24">Jolt/Geometry/EPAConvexHullBuilder.h:24</see>
|
|
/// <br/>
|
|
/// <c>class EPAConvexHullBuilder : public NonCopyable</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// 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.
|
|
/// </para>
|
|
/// </remarks>
|
|
[InteropHandle]
|
|
public readonly partial struct EPAConvexHullBuilder
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/EPAConvexHullBuilder.h#L234">Jolt/Geometry/EPAConvexHullBuilder.h:234</see>
|
|
/// <br/>
|
|
/// <c>void Initialize(int inIdx1, int inIdx2, int inIdx3)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Initialize the hull with 3 points
|
|
/// </para>
|
|
/// </remarks>
|
|
public void Initialize(int idx1, int idx2, int idx3) => Jolt.PInvoke.EPAConvexHullBuilder_Initialize(this, idx1, idx2, idx3);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/EPAConvexHullBuilder.h#L262">Jolt/Geometry/EPAConvexHullBuilder.h:262</see>
|
|
/// <br/>
|
|
/// <c>bool HasNextTriangle() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Check if there's another triangle to process from the queue
|
|
/// </para>
|
|
/// </remarks>
|
|
public bool HasNextTriangle() => Jolt.PInvoke.EPAConvexHullBuilder_HasNextTriangle(this);
|
|
}
|
|
}
|