mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
53 lines
1.8 KiB
C#
53 lines
1.8 KiB
C#
// <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>
|
|
/// Structure that holds AABox moving linearly through 3d space
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/AABoxCast.h#L12">Jolt/Physics/Collision/AABoxCast.h:12</see>
|
|
/// <br/>
|
|
/// <c>struct AABoxCast</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
|
public partial struct AABoxCast
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Axis aligned box at starting location
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/AABoxCast.h#L16">Jolt/Physics/Collision/AABoxCast.h:16</see>
|
|
/// <br/>
|
|
/// <c>AABox mBox</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public AABox Box;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Direction and length of the cast (anything beyond this length will not be reported as a hit)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/AABoxCast.h#L17">Jolt/Physics/Collision/AABoxCast.h:17</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mDirection</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(32)]
|
|
public float3 Direction;
|
|
}
|
|
}
|