// // 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 { /// [LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_Create")] public static partial void IndexedTriangleNoMaterial_Create(out IndexedTriangleNoMaterial outResult); /// [LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_Create_2")] public static partial void IndexedTriangleNoMaterial_Create_2( uint i1, uint i2, uint i3, out IndexedTriangleNoMaterial outResult ); /// /// /// Check if two triangles are equivalent (using the same vertices) /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:28 ///
/// bool IsEquivalent(const IndexedTriangleNoMaterial &inRHS) const ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_IsEquivalent")] public static partial Brutal.Bool8 IndexedTriangleNoMaterial_IsEquivalent( ref IndexedTriangleNoMaterial self, in IndexedTriangleNoMaterial rhs ); /// /// /// Check if two triangles are opposite (using the same vertices but in opposing order) /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:36 ///
/// bool IsOpposite(const IndexedTriangleNoMaterial &inRHS) const ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_IsOpposite")] public static partial Brutal.Bool8 IndexedTriangleNoMaterial_IsOpposite( ref IndexedTriangleNoMaterial self, in IndexedTriangleNoMaterial rhs ); /// /// /// Check if triangle is degenerate /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:44 ///
/// bool IsDegenerate(const VertexList &inVertices) const ///
///
/// /// /// vertices is copied into a native container for the call; the span is only read. /// /// [LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_IsDegenerate")] public static partial Brutal.Bool8 IndexedTriangleNoMaterial_IsDegenerate( ref IndexedTriangleNoMaterial self, float3* vertices, nuint verticesCount ); /// /// /// Rotate the vertices so that the second vertex becomes first etc. This does not change the /// represented triangle. /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:54 ///
/// void Rotate() ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_Rotate")] public static partial void IndexedTriangleNoMaterial_Rotate(ref IndexedTriangleNoMaterial self); /// /// /// Get center of triangle /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:63 ///
/// Vec3 GetCentroid(const VertexList &inVertices) const ///
///
/// /// /// vertices is copied into a native container for the call; the span is only read. /// /// [LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_GetCentroid")] public static partial float3 IndexedTriangleNoMaterial_GetCentroid( ref IndexedTriangleNoMaterial self, float3* vertices, nuint verticesCount ); /// /// /// Get the hash value of this structure /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:69 ///
/// uint64 GetHash() const ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangleNoMaterial_GetHash")] public static partial ulong IndexedTriangleNoMaterial_GetHash(ref IndexedTriangleNoMaterial self); } } }