//
// 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 = "VehicleEngine_Create")]
public static partial VehicleEngine VehicleEngine_Create();
[LibraryImport("jolt", EntryPoint = "VehicleEngine_Destroy")]
public static partial void VehicleEngine_Destroy(VehicleEngine self);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ClampRPM")]
public static partial void VehicleEngine_ClampRPM(VehicleEngine self);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetCurrentRPM")]
public static partial float VehicleEngine_GetCurrentRPM(VehicleEngine self);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_SetCurrentRPM")]
public static partial void VehicleEngine_SetCurrentRPM(VehicleEngine self, float rpm);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetAngularVelocity")]
public static partial float VehicleEngine_GetAngularVelocity(VehicleEngine self);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetTorque")]
public static partial float VehicleEngine_GetTorque(VehicleEngine self, float acceleration);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ApplyTorque")]
public static partial void VehicleEngine_ApplyTorque(VehicleEngine self, float torque, float deltaTime);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ApplyDamping")]
public static partial void VehicleEngine_ApplyDamping(VehicleEngine self, float deltaTime);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ConvertRPMToAngle")]
public static partial float VehicleEngine_ConvertRPMToAngle(VehicleEngine self, float rpm);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_DrawRPM")]
public static partial void VehicleEngine_DrawRPM(
VehicleEngine self,
DebugRenderer renderer,
float3 position,
float3 forward,
float3 up,
float size,
float shiftDownRPM,
float shiftUpRPM
);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_AllowSleep")]
public static partial Brutal.Bool8 VehicleEngine_AllowSleep(VehicleEngine self);
///
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetAngularVelocityToRPM")]
public static partial float VehicleEngine_GetAngularVelocityToRPM();
}
}
}