mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
44 lines
1.8 KiB
C#
44 lines
1.8 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
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Function required by the CollisionCollector. A smaller fraction is considered to be a 'better hit'.
|
|
/// For rays/cast shapes we can just use the collision fraction.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CastResult.h#L19">Jolt/Physics/Collision/CastResult.h:19</see>
|
|
/// <br/>
|
|
/// <c>inline float GetEarlyOutFraction() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_GetEarlyOutFraction")]
|
|
public static partial float BroadPhaseCastResult_GetEarlyOutFraction(ref BroadPhaseCastResult self);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Reset this result so it can be reused for a new cast.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CastResult.h#L22">Jolt/Physics/Collision/CastResult.h:22</see>
|
|
/// <br/>
|
|
/// <c>inline void Reset()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_Reset")]
|
|
public static partial void BroadPhaseCastResult_Reset(ref BroadPhaseCastResult self);
|
|
}
|
|
}
|
|
}
|