brutal/brutal.jolt/Brutal.Jolt/Generated/Classes/Ellipse.gen.cs
2026-10-15 14:12:02 +13:00

42 lines
1.4 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/Ellipse.h#L13">Jolt/Geometry/Ellipse.h:13</see>
/// <br/>
/// <c>class Ellipse</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Ellipse centered around the origin
/// @see https://en.wikipedia.org/wiki/Ellipse
/// </code>
/// </remarks>
[InteropHandle]
public readonly partial struct Ellipse : IDisposable
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Ellipse.h#L19">Jolt/Geometry/Ellipse.h:19</see>
/// <br/>
/// <c>Ellipse(float inA, float inB)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Construct ellipse with radius A along the X-axis and B along the Y-axis
/// </para>
/// </remarks>
public static Ellipse Create(float a, float b) => Jolt.PInvoke.Ellipse_Create(a, b);
public void Dispose() => Jolt.PInvoke.Ellipse_Destroy(this);
}
}