mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
61 lines
2 KiB
C#
61 lines
2 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>
|
|
/// Class that wraps a triangle so that it can used with convex collision detection
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/ConvexSupport.h#L97">Jolt/Geometry/ConvexSupport.h:97</see>
|
|
/// <br/>
|
|
/// <c>struct TriangleConvexSupport</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
|
public partial struct TriangleConvexSupport
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// The three vertices of the triangle
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/ConvexSupport.h#L142">Jolt/Geometry/ConvexSupport.h:142</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mV1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public float3 V1;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/ConvexSupport.h#L143">Jolt/Geometry/ConvexSupport.h:143</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mV2</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public float3 V2;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/ConvexSupport.h#L144">Jolt/Geometry/ConvexSupport.h:144</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mV3</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(32)]
|
|
public float3 V3;
|
|
}
|
|
}
|