brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/OrientedBox.gen.cs
2026-10-15 14:12:02 +13:00

140 lines
6.9 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
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L23">Jolt/Geometry/OrientedBox.h:23</see>
/// <br/>
/// <c>OrientedBox() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "OrientedBox_Create")]
public static partial OrientedBox OrientedBox_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L24">Jolt/Geometry/OrientedBox.h:24</see>
/// <br/>
/// <c>OrientedBox(Mat44Arg inOrientation, Vec3Arg inHalfExtents)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "OrientedBox_Create_2")]
public static partial OrientedBox OrientedBox_Create_2(float4x4 orientation, float3 halfExtents);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L27">Jolt/Geometry/OrientedBox.h:27</see>
/// <br/>
/// <c>OrientedBox(Mat44Arg inOrientation, const AABox &amp;inBox)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Construct from axis aligned box and transform. Only works for rotation/translation matrix (no
/// scaling / shearing).
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "OrientedBox_Create_3")]
public static partial OrientedBox OrientedBox_Create_3(float4x4 orientation, AABox box);
[LibraryImport("jolt", EntryPoint = "OrientedBox_Destroy")]
public static partial void OrientedBox_Destroy(OrientedBox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L30">Jolt/Geometry/OrientedBox.h:30</see>
/// <br/>
/// <c>bool Overlaps(const AABox &amp;inBox, float inEpsilon = 1.0e-6f) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Test if oriented box overlaps with axis aligned box each other
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "OrientedBox_Overlaps")]
public static partial Brutal.Bool8 OrientedBox_Overlaps(OrientedBox self, AABox box, float epsilon);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L33">Jolt/Geometry/OrientedBox.h:33</see>
/// <br/>
/// <c>bool Overlaps(const OrientedBox &amp;inBox, float inEpsilon = 1.0e-6f) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Test if two oriented boxes overlap each other
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "OrientedBox_Overlaps_2")]
public static partial Brutal.Bool8 OrientedBox_Overlaps_2(OrientedBox self, OrientedBox box, float epsilon);
/// <summary>
/// <para>
/// Transform that positions and rotates the local space axis aligned box into world space
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L35">Jolt/Geometry/OrientedBox.h:35</see>
/// <br/>
/// <c>Mat44 mOrientation</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "OrientedBox_GetOrientation")]
public static partial float4x4 OrientedBox_GetOrientation(OrientedBox self);
/// <summary>
/// <para>
/// Transform that positions and rotates the local space axis aligned box into world space
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L35">Jolt/Geometry/OrientedBox.h:35</see>
/// <br/>
/// <c>Mat44 mOrientation</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "OrientedBox_SetOrientation")]
public static partial void OrientedBox_SetOrientation(OrientedBox self, float4x4 value);
/// <summary>
/// <para>
/// Half extents (half the size of the edge) of the local space axis aligned box
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L36">Jolt/Geometry/OrientedBox.h:36</see>
/// <br/>
/// <c>Vec3 mHalfExtents</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "OrientedBox_GetHalfExtents")]
public static partial float3 OrientedBox_GetHalfExtents(OrientedBox self);
/// <summary>
/// <para>
/// Half extents (half the size of the edge) of the local space axis aligned box
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/OrientedBox.h#L36">Jolt/Geometry/OrientedBox.h:36</see>
/// <br/>
/// <c>Vec3 mHalfExtents</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "OrientedBox_SetHalfExtents")]
public static partial void OrientedBox_SetHalfExtents(OrientedBox self, float3 value);
}
}
}