// // 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 { /// /// /// 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. /// /// /// C++: /// Jolt/Physics/Collision/CastResult.h:19 ///
/// inline float GetEarlyOutFraction() const ///
///
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_GetEarlyOutFraction")] public static partial float BroadPhaseCastResult_GetEarlyOutFraction(ref BroadPhaseCastResult self); /// /// /// Reset this result so it can be reused for a new cast. /// /// /// C++: /// Jolt/Physics/Collision/CastResult.h:22 ///
/// inline void Reset() ///
///
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_Reset")] public static partial void BroadPhaseCastResult_Reset(ref BroadPhaseCastResult self); } } }