mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
60
Brutal.Jolt/Generated/PInvoke/CollideShapeResult.gen.cs
Normal file
60
Brutal.Jolt/Generated/PInvoke/CollideShapeResult.gen.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// <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
|
||||
{
|
||||
/// <inheritdoc cref="CollideShapeResult.Create()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Create")]
|
||||
public static partial CollideShapeResult CollideShapeResult_Create();
|
||||
|
||||
/// <inheritdoc cref="CollideShapeResult.Create(float3, float3, float3, float, uint, uint, uint)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Create_2")]
|
||||
public static partial CollideShapeResult CollideShapeResult_Create_2(
|
||||
float3 contactPointOn1,
|
||||
float3 contactPointOn2,
|
||||
float3 penetrationAxis,
|
||||
float penetrationDepth,
|
||||
uint subShapeID1,
|
||||
uint subShapeID2,
|
||||
uint bodyID2
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Function required by the CollisionCollector. A smaller fraction is considered to be a 'better hit'.
|
||||
/// We use -penetration depth to get the hit with the biggest penetration depth
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollideShape.h#L39">Jolt/Physics/Collision/CollideShape.h:39</see>
|
||||
/// <br/>
|
||||
/// <c>inline float GetEarlyOutFraction() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetEarlyOutFraction")]
|
||||
public static partial float CollideShapeResult_GetEarlyOutFraction(ref CollideShapeResult self);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Reverses the hit result, swapping contact point 1 with contact point 2 etc.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollideShape.h#L42">Jolt/Physics/Collision/CollideShape.h:42</see>
|
||||
/// <br/>
|
||||
/// <c>inline CollideShapeResult Reversed() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Reversed")]
|
||||
public static partial CollideShapeResult CollideShapeResult_Reversed(ref CollideShapeResult self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue