// // 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 { /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:23 ///
/// OrientedBox() = default ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "OrientedBox_Create")] public static partial OrientedBox OrientedBox_Create(); /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:24 ///
/// OrientedBox(Mat44Arg inOrientation, Vec3Arg inHalfExtents) ///
///
[LibraryImport("jolt", EntryPoint = "OrientedBox_Create_2")] public static partial OrientedBox OrientedBox_Create_2(float4x4 orientation, float3 halfExtents); /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:27 ///
/// OrientedBox(Mat44Arg inOrientation, const AABox &inBox) ///
///
/// /// /// Construct from axis aligned box and transform. Only works for rotation/translation matrix (no /// scaling / shearing). /// /// [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); /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:30 ///
/// bool Overlaps(const AABox &inBox, float inEpsilon = 1.0e-6f) const ///
///
/// /// /// Test if oriented box overlaps with axis aligned box each other /// /// [LibraryImport("jolt", EntryPoint = "OrientedBox_Overlaps")] public static partial Brutal.Bool8 OrientedBox_Overlaps(OrientedBox self, AABox box, float epsilon); /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:33 ///
/// bool Overlaps(const OrientedBox &inBox, float inEpsilon = 1.0e-6f) const ///
///
/// /// /// Test if two oriented boxes overlap each other /// /// [LibraryImport("jolt", EntryPoint = "OrientedBox_Overlaps_2")] public static partial Brutal.Bool8 OrientedBox_Overlaps_2(OrientedBox self, OrientedBox box, float epsilon); /// /// /// Transform that positions and rotates the local space axis aligned box into world space /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:35 ///
/// Mat44 mOrientation ///
///
[LibraryImport("jolt", EntryPoint = "OrientedBox_GetOrientation")] public static partial float4x4 OrientedBox_GetOrientation(OrientedBox self); /// /// /// Transform that positions and rotates the local space axis aligned box into world space /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:35 ///
/// Mat44 mOrientation ///
///
[LibraryImport("jolt", EntryPoint = "OrientedBox_SetOrientation")] public static partial void OrientedBox_SetOrientation(OrientedBox self, float4x4 value); /// /// /// Half extents (half the size of the edge) of the local space axis aligned box /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:36 ///
/// Vec3 mHalfExtents ///
///
[LibraryImport("jolt", EntryPoint = "OrientedBox_GetHalfExtents")] public static partial float3 OrientedBox_GetHalfExtents(OrientedBox self); /// /// /// Half extents (half the size of the edge) of the local space axis aligned box /// /// /// C++: /// Jolt/Geometry/OrientedBox.h:36 ///
/// Vec3 mHalfExtents ///
///
[LibraryImport("jolt", EntryPoint = "OrientedBox_SetHalfExtents")] public static partial void OrientedBox_SetHalfExtents(OrientedBox self, float3 value); } } }