mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,63 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Traits to use for CastShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollisionCollector.h#L22">Jolt/Physics/Collision/CollisionCollector.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>class CollisionCollectorTraitsCastShape</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct CollisionCollectorTraitsCastShape : IDisposable
|
||||
{
|
||||
public static CollisionCollectorTraitsCastShape Create() =>
|
||||
Jolt.PInvoke.CollisionCollectorTraitsCastShape_Create();
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Furthest hit: Fraction is 1 + epsilon
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollisionCollector.h#L26">Jolt/Physics/Collision/CollisionCollector.h:26</see>
|
||||
/// <br/>
|
||||
/// <c>static constexpr float InitialEarlyOutFraction = 1.0f + FLT_EPSILON</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// For rays the early out fraction is the fraction along the line to order hits.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static float GetInitialEarlyOutFraction() =>
|
||||
Jolt.PInvoke.CollisionCollectorTraitsCastShape_GetInitialEarlyOutFraction();
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Deepest hit: Penetration is infinite
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollisionCollector.h#L27">Jolt/Physics/Collision/CollisionCollector.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>static constexpr float ShouldEarlyOutFraction = -FLT_MAX</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static float GetShouldEarlyOutFraction() =>
|
||||
Jolt.PInvoke.CollisionCollectorTraitsCastShape_GetShouldEarlyOutFraction();
|
||||
|
||||
public void Dispose() => Jolt.PInvoke.CollisionCollectorTraitsCastShape_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue