//
// 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/Plane.h:16
///
/// Plane() = default
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "Plane_Create")]
public static partial Plane Plane_Create();
///
///
/// C++:
/// Jolt/Geometry/Plane.h:17
///
/// explicit Plane(Vec4Arg inNormalAndConstant)
///
///
[LibraryImport("jolt", EntryPoint = "Plane_Create_2")]
public static partial Plane Plane_Create_2(float4 normalAndConstant);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:18
///
/// Plane(Vec3Arg inNormal, float inConstant)
///
///
[LibraryImport("jolt", EntryPoint = "Plane_Create_3")]
public static partial Plane Plane_Create_3(float3 normal, float constant);
[LibraryImport("jolt", EntryPoint = "Plane_Destroy")]
public static partial void Plane_Destroy(Plane self);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:30
///
/// Vec3 GetNormal() const
///
///
///
///
/// Properties
///
///
[LibraryImport("jolt", EntryPoint = "Plane_GetNormal")]
public static partial float3 Plane_GetNormal(Plane self);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:31
///
/// void SetNormal(Vec3Arg inNormal)
///
///
[LibraryImport("jolt", EntryPoint = "Plane_SetNormal")]
public static partial void Plane_SetNormal(Plane self, float3 normal);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:32
///
/// float GetConstant() const
///
///
[LibraryImport("jolt", EntryPoint = "Plane_GetConstant")]
public static partial float Plane_GetConstant(Plane self);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:33
///
/// void SetConstant(float inConstant)
///
///
[LibraryImport("jolt", EntryPoint = "Plane_SetConstant")]
public static partial void Plane_SetConstant(Plane self, float constant);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:36
///
/// void StoreFloat4(Float4 *outV) const
///
///
///
///
/// Store as 4 floats
///
///
[LibraryImport("jolt", EntryPoint = "Plane_StoreFloat4")]
public static partial void Plane_StoreFloat4(Plane self, float4* v);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:57
///
/// float SignedDistance(Vec3Arg inPoint) const
///
///
///
///
/// Distance point to plane
///
///
[LibraryImport("jolt", EntryPoint = "Plane_SignedDistance")]
public static partial float Plane_SignedDistance(Plane self, float3 point);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:60
///
/// Vec3 ProjectPointOnPlane(Vec3Arg inPoint) const
///
///
///
///
/// Project inPoint onto the plane
///
///
[LibraryImport("jolt", EntryPoint = "Plane_ProjectPointOnPlane")]
public static partial float3 Plane_ProjectPointOnPlane(Plane self, float3 point);
///
///
/// C++:
/// Jolt/Geometry/Plane.h:63
///
/// static bool sIntersectPlanes(const Plane &inP1, const Plane &inP2, const Plane &inP3, Vec3 &outPoint)
///
///
///
///
/// Returns intersection point between 3 planes
///
///
[LibraryImport("jolt", EntryPoint = "Plane_sIntersectPlanes")]
public static partial Brutal.Bool8 Plane_sIntersectPlanes(Plane p1, Plane p2, Plane p3, out float3 point);
}
}
}