mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,102 @@
|
|||
// <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
|
||||
{
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_Create")]
|
||||
public static partial BroadPhaseCastResult BroadPhaseCastResult_Create();
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_Destroy")]
|
||||
public static partial void BroadPhaseCastResult_Destroy(BroadPhaseCastResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CastResult.h#L19">Jolt/Physics/Collision/CastResult.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>inline float GetEarlyOutFraction() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_GetEarlyOutFraction")]
|
||||
public static partial float BroadPhaseCastResult_GetEarlyOutFraction(BroadPhaseCastResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CastResult.h#L22">Jolt/Physics/Collision/CastResult.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>inline void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Reset this result so it can be reused for a new cast.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_Reset")]
|
||||
public static partial void BroadPhaseCastResult_Reset(BroadPhaseCastResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body that was hit
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CastResult.h#L24">Jolt/Physics/Collision/CastResult.h:24</see>
|
||||
/// <br/>
|
||||
/// <c>BodyID mBodyID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_GetBodyID")]
|
||||
public static partial uint BroadPhaseCastResult_GetBodyID(BroadPhaseCastResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body that was hit
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CastResult.h#L24">Jolt/Physics/Collision/CastResult.h:24</see>
|
||||
/// <br/>
|
||||
/// <c>BodyID mBodyID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_SetBodyID")]
|
||||
public static partial void BroadPhaseCastResult_SetBodyID(BroadPhaseCastResult self, uint value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Hit fraction of the ray/object [0, 1], HitPoint = Start + mFraction * (End - Start)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CastResult.h#L25">Jolt/Physics/Collision/CastResult.h:25</see>
|
||||
/// <br/>
|
||||
/// <c>float mFraction = 1.0f + FLT_EPSILON</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_GetFraction")]
|
||||
public static partial float BroadPhaseCastResult_GetFraction(BroadPhaseCastResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Hit fraction of the ray/object [0, 1], HitPoint = Start + mFraction * (End - Start)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CastResult.h#L25">Jolt/Physics/Collision/CastResult.h:25</see>
|
||||
/// <br/>
|
||||
/// <c>float mFraction = 1.0f + FLT_EPSILON</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseCastResult_SetFraction")]
|
||||
public static partial void BroadPhaseCastResult_SetFraction(BroadPhaseCastResult self, float value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue