// // 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/Sphere.h:17 ///
/// inline Sphere() = default ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "Sphere_Create")] public static partial Sphere Sphere_Create(); /// /// /// C++: /// Jolt/Geometry/Sphere.h:18 ///
/// inline Sphere(const Float3 &inCenter, float inRadius) ///
///
[LibraryImport("jolt", EntryPoint = "Sphere_Create_2")] public static partial Sphere Sphere_Create_2(float3 center, float radius); [LibraryImport("jolt", EntryPoint = "Sphere_Destroy")] public static partial void Sphere_Destroy(Sphere self); /// /// /// C++: /// Jolt/Geometry/Sphere.h:22 ///
/// inline Vec3 GetSupport(Vec3Arg inDirection) const ///
///
/// /// /// Calculate the support vector for this convex shape. /// /// [LibraryImport("jolt", EntryPoint = "Sphere_GetSupport")] public static partial float3 Sphere_GetSupport(Sphere self, float3 direction); /// /// /// C++: /// Jolt/Geometry/Sphere.h:29 ///
/// inline Vec3 GetCenter() const ///
///
/// /// /// Properties /// /// [LibraryImport("jolt", EntryPoint = "Sphere_GetCenter")] public static partial float3 Sphere_GetCenter(Sphere self); /// /// /// C++: /// Jolt/Geometry/Sphere.h:30 ///
/// inline float GetRadius() const ///
///
[LibraryImport("jolt", EntryPoint = "Sphere_GetRadius")] public static partial float Sphere_GetRadius(Sphere self); /// /// /// C++: /// Jolt/Geometry/Sphere.h:33 ///
/// inline bool Overlaps(const Sphere &inB) const ///
///
/// /// /// Test if two spheres overlap /// /// [LibraryImport("jolt", EntryPoint = "Sphere_Overlaps")] public static partial Brutal.Bool8 Sphere_Overlaps(Sphere self, Sphere b); /// /// /// C++: /// Jolt/Geometry/Sphere.h:39 ///
/// inline bool Overlaps(const AABox &inOther) const ///
///
/// /// /// Check if this sphere overlaps with a box /// /// [LibraryImport("jolt", EntryPoint = "Sphere_Overlaps_2")] public static partial Brutal.Bool8 Sphere_Overlaps_2(Sphere self, AABox other); /// /// /// C++: /// Jolt/Geometry/Sphere.h:45 ///
/// inline void EncapsulatePoint(Vec3Arg inPoint) ///
///
/// /// /// Create the minimal sphere that encapsulates this sphere and inPoint /// /// [LibraryImport("jolt", EntryPoint = "Sphere_EncapsulatePoint")] public static partial void Sphere_EncapsulatePoint(Sphere self, float3 point); } } }