mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,78 @@
|
|||
// <auto-generated/>
|
||||
// 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
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Saves the contents in binary form to inStream.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleDifferential.h#L19">Jolt/Physics/Vehicle/VehicleDifferential.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>void SaveBinaryState(StreamOut &inStream) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "VehicleDifferentialSettings_SaveBinaryState")]
|
||||
public static partial void VehicleDifferentialSettings_SaveBinaryState(
|
||||
ref VehicleDifferentialSettings self,
|
||||
StreamOut stream
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Restores the contents in binary form to inStream.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleDifferential.h#L22">Jolt/Physics/Vehicle/VehicleDifferential.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>void RestoreBinaryState(StreamIn &inStream)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "VehicleDifferentialSettings_RestoreBinaryState")]
|
||||
public static partial void VehicleDifferentialSettings_RestoreBinaryState(
|
||||
ref VehicleDifferentialSettings self,
|
||||
StreamIn stream
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Calculate the torque ratio between left and right wheel
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleDifferential.h#L29">Jolt/Physics/Vehicle/VehicleDifferential.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>void CalculateTorqueRatio(float inLeftAngularVelocity, float inRightAngularVelocity, float &outLeftTorqueFraction, float &outRightTorqueFraction) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Calculate the torque ratio between left and right wheel
|
||||
/// @param inLeftAngularVelocity Angular velocity of left wheel (rad / s)
|
||||
/// @param inRightAngularVelocity Angular velocity of right wheel (rad / s)
|
||||
/// @param outLeftTorqueFraction Fraction of torque that should go to the left wheel
|
||||
/// @param outRightTorqueFraction Fraction of torque that should go to the right wheel
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "VehicleDifferentialSettings_CalculateTorqueRatio")]
|
||||
public static partial void VehicleDifferentialSettings_CalculateTorqueRatio(
|
||||
ref VehicleDifferentialSettings self,
|
||||
float leftAngularVelocity,
|
||||
float rightAngularVelocity,
|
||||
out float leftTorqueFraction,
|
||||
out float rightTorqueFraction
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue