// // 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 = "RotationEulerConstraintPart_Create")] public static partial RotationEulerConstraintPart RotationEulerConstraintPart_Create(); [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_Destroy")] public static partial void RotationEulerConstraintPart_Destroy(RotationEulerConstraintPart self); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:63 ///
/// static Quat sGetInvInitialOrientation(const Body &inBody1, const Body &inBody2) ///
///
/// /// /// Return inverse of initial rotation from body 1 to body 2 in body 1 space /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_sGetInvInitialOrientation")] public static partial floatQuat RotationEulerConstraintPart_sGetInvInitialOrientation(Body body1, Body body2); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:82 ///
/// static Quat sGetInvInitialOrientationXY(Vec3Arg inAxisX1, Vec3Arg inAxisY1, Vec3Arg inAxisX2, Vec3Arg inAxisY2) ///
///
/// /// /// @brief Return inverse of initial rotation from body 1 to body 2 in body 1 space /// @param inAxisX1 Reference axis X for body 1 /// @param inAxisY1 Reference axis Y for body 1 /// @param inAxisX2 Reference axis X for body 2 /// @param inAxisY2 Reference axis Y for body 2 /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_sGetInvInitialOrientationXY")] public static partial floatQuat RotationEulerConstraintPart_sGetInvInitialOrientationXY(float3 axisX1, float3 axisY1, float3 axisX2, float3 axisY2); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:123 ///
/// static Quat sGetInvInitialOrientationXZ(Vec3Arg inAxisX1, Vec3Arg inAxisZ1, Vec3Arg inAxisX2, Vec3Arg inAxisZ2) ///
///
/// /// /// @brief Return inverse of initial rotation from body 1 to body 2 in body 1 space /// @param inAxisX1 Reference axis X for body 1 /// @param inAxisZ1 Reference axis Z for body 1 /// @param inAxisX2 Reference axis X for body 2 /// @param inAxisZ2 Reference axis Z for body 2 /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_sGetInvInitialOrientationXZ")] public static partial floatQuat RotationEulerConstraintPart_sGetInvInitialOrientationXZ(float3 axisX1, float3 axisZ1, float3 axisX2, float3 axisZ2); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:139 ///
/// inline void CalculateConstraintProperties(const Body &inBody1, Mat44Arg inRotation1, const Body &inBody2, Mat44Arg inRotation2) ///
///
/// /// /// Calculate properties used during the functions below /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_CalculateConstraintProperties")] public static partial void RotationEulerConstraintPart_CalculateConstraintProperties(RotationEulerConstraintPart self, Body body1, float4x4 rotation1, Body body2, float4x4 rotation2); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:164 ///
/// inline void Deactivate() ///
///
/// /// /// Deactivate this constraint /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_Deactivate")] public static partial void RotationEulerConstraintPart_Deactivate(RotationEulerConstraintPart self); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:171 ///
/// inline bool IsActive() const ///
///
/// /// /// Check if constraint is active /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_IsActive")] public static partial Brutal.Bool8 RotationEulerConstraintPart_IsActive(RotationEulerConstraintPart self); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:177 ///
/// inline void WarmStart(Body &ioBody1, Body &ioBody2, float inWarmStartImpulseRatio) ///
///
/// /// /// Must be called from the WarmStartVelocityConstraint call to apply the previous frame's impulses /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_WarmStart")] public static partial void RotationEulerConstraintPart_WarmStart(RotationEulerConstraintPart self, Body body1, Body body2, float warmStartImpulseRatio); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:184 ///
/// inline bool SolveVelocityConstraint(Body &ioBody1, Body &ioBody2) ///
///
/// /// /// Iteratively update the velocity constraint. Makes sure d/dt C(...) = 0, where C is the constraint /// equation. /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_SolveVelocityConstraint")] public static partial Brutal.Bool8 RotationEulerConstraintPart_SolveVelocityConstraint(RotationEulerConstraintPart self, Body body1, Body body2); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:195 ///
/// inline bool SolvePositionConstraint(Body &ioBody1, Body &ioBody2, QuatArg inInvInitialOrientation, float inBaumgarte) const ///
///
/// /// /// Iteratively update the position constraint. Makes sure C(...) = 0. /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_SolvePositionConstraint")] public static partial Brutal.Bool8 RotationEulerConstraintPart_SolvePositionConstraint(RotationEulerConstraintPart self, Body body1, Body body2, floatQuat invInitialOrientation, float baumgarte); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h:259 ///
/// Vec3 GetTotalLambda() const ///
///
/// /// /// Return lagrange multiplier /// /// [LibraryImport("jolt", EntryPoint = "RotationEulerConstraintPart_GetTotalLambda")] public static partial float3 RotationEulerConstraintPart_GetTotalLambda(RotationEulerConstraintPart self); } } }