mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
61 lines
2.1 KiB
C#
61 lines
2.1 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexSupport.h#L97">Jolt/Geometry/ConvexSupport.h:97</see>
|
|
/// <br/>
|
|
/// <c>struct TriangleConvexSupport</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Class that wraps a triangle so that it can used with convex collision detection
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
|
public struct TriangleConvexSupport
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexSupport.h#L142">Jolt/Geometry/ConvexSupport.h:142</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mV1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The three vertices of the triangle
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public float3 mV1;
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexSupport.h#L143">Jolt/Geometry/ConvexSupport.h:143</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mV2</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public float3 mV2;
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexSupport.h#L144">Jolt/Geometry/ConvexSupport.h:144</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mV3</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(32)]
|
|
public float3 mV3;
|
|
}
|
|
}
|