mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18: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,253 @@
|
|||
// <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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L24">Jolt/Physics/Collision/CollideShape.h:24</see>
|
||||
/// <br/>
|
||||
/// <c>CollideShapeResult() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Default constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Create")]
|
||||
public static partial CollideShapeResult CollideShapeResult_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L27">Jolt/Physics/Collision/CollideShape.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>CollideShapeResult(Vec3Arg inContactPointOn1, Vec3Arg inContactPointOn2, Vec3Arg inPenetrationAxis, float inPenetrationDepth, const SubShapeID &inSubShapeID1, const SubShapeID &inSubShapeID2, const BodyID &inBodyID2)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[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);
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_Destroy")]
|
||||
public static partial void CollideShapeResult_Destroy(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L39">Jolt/Physics/Collision/CollideShape.h:39</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'.
|
||||
/// We use -penetration depth to get the hit with the biggest penetration depth
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetEarlyOutFraction")]
|
||||
public static partial float CollideShapeResult_GetEarlyOutFraction(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Contact point on the surface of shape 1 (in world space or relative to base offset)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L59">Jolt/Physics/Collision/CollideShape.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mContactPointOn1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetContactPointOn1")]
|
||||
public static partial float3 CollideShapeResult_GetContactPointOn1(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Contact point on the surface of shape 1 (in world space or relative to base offset)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L59">Jolt/Physics/Collision/CollideShape.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mContactPointOn1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetContactPointOn1")]
|
||||
public static partial void CollideShapeResult_SetContactPointOn1(CollideShapeResult self, float3 value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Contact point on the surface of shape 2 (in world space or relative to base offset). If the
|
||||
/// penetration depth is 0, this will be the same as mContactPointOn1.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L60">Jolt/Physics/Collision/CollideShape.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mContactPointOn2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetContactPointOn2")]
|
||||
public static partial float3 CollideShapeResult_GetContactPointOn2(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Contact point on the surface of shape 2 (in world space or relative to base offset). If the
|
||||
/// penetration depth is 0, this will be the same as mContactPointOn1.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L60">Jolt/Physics/Collision/CollideShape.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mContactPointOn2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetContactPointOn2")]
|
||||
public static partial void CollideShapeResult_SetContactPointOn2(CollideShapeResult self, float3 value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Direction to move shape 2 out of collision along the shortest path (magnitude is meaningless, in
|
||||
/// world space). You can use -mPenetrationAxis.Normalized() as contact normal.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L61">Jolt/Physics/Collision/CollideShape.h:61</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mPenetrationAxis</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetPenetrationAxis")]
|
||||
public static partial float3 CollideShapeResult_GetPenetrationAxis(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Direction to move shape 2 out of collision along the shortest path (magnitude is meaningless, in
|
||||
/// world space). You can use -mPenetrationAxis.Normalized() as contact normal.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L61">Jolt/Physics/Collision/CollideShape.h:61</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mPenetrationAxis</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetPenetrationAxis")]
|
||||
public static partial void CollideShapeResult_SetPenetrationAxis(CollideShapeResult self, float3 value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Penetration depth (move shape 2 by this distance to resolve the collision). If
|
||||
/// CollideShapeSettings::mMaxSeparationDistance > 0 this number can be negative to indicate that the
|
||||
/// objects are separated by -mPenetrationDepth. The contact points are the closest points in that case.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L62">Jolt/Physics/Collision/CollideShape.h:62</see>
|
||||
/// <br/>
|
||||
/// <c>float mPenetrationDepth</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetPenetrationDepth")]
|
||||
public static partial float CollideShapeResult_GetPenetrationDepth(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Penetration depth (move shape 2 by this distance to resolve the collision). If
|
||||
/// CollideShapeSettings::mMaxSeparationDistance > 0 this number can be negative to indicate that the
|
||||
/// objects are separated by -mPenetrationDepth. The contact points are the closest points in that case.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L62">Jolt/Physics/Collision/CollideShape.h:62</see>
|
||||
/// <br/>
|
||||
/// <c>float mPenetrationDepth</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetPenetrationDepth")]
|
||||
public static partial void CollideShapeResult_SetPenetrationDepth(CollideShapeResult self, float value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID that identifies the face on shape 1
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L63">Jolt/Physics/Collision/CollideShape.h:63</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetSubShapeID1")]
|
||||
public static partial uint CollideShapeResult_GetSubShapeID1(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID that identifies the face on shape 1
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L63">Jolt/Physics/Collision/CollideShape.h:63</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetSubShapeID1")]
|
||||
public static partial void CollideShapeResult_SetSubShapeID1(CollideShapeResult self, uint value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID that identifies the face on shape 2
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L64">Jolt/Physics/Collision/CollideShape.h:64</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetSubShapeID2")]
|
||||
public static partial uint CollideShapeResult_GetSubShapeID2(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID that identifies the face on shape 2
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L64">Jolt/Physics/Collision/CollideShape.h:64</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetSubShapeID2")]
|
||||
public static partial void CollideShapeResult_SetSubShapeID2(CollideShapeResult self, uint value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// BodyID to which shape 2 belongs to
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L65">Jolt/Physics/Collision/CollideShape.h:65</see>
|
||||
/// <br/>
|
||||
/// <c>BodyID mBodyID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_GetBodyID2")]
|
||||
public static partial uint CollideShapeResult_GetBodyID2(CollideShapeResult self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// BodyID to which shape 2 belongs to
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L65">Jolt/Physics/Collision/CollideShape.h:65</see>
|
||||
/// <br/>
|
||||
/// <c>BodyID mBodyID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "CollideShapeResult_SetBodyID2")]
|
||||
public static partial void CollideShapeResult_SetBodyID2(CollideShapeResult self, uint value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue