mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
45
Brutal.Jolt/Generated/Structs/RayCastResult.gen.cs
Normal file
45
Brutal.Jolt/Generated/Structs/RayCastResult.gen.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Specialization of cast result against a shape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CastResult.h#L29">Jolt/Physics/Collision/CastResult.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>class RayCastResult : public BroadPhaseCastResult</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct RayCastResult
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint BodyID;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public float Fraction;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID of shape that we collided against
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CastResult.h#L34">Jolt/Physics/Collision/CastResult.h:34</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public uint SubShapeID2;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue