From b6daad8d4b4f828848e8ed778778e11ff92894dd Mon Sep 17 00:00:00 2001 From: Micky Date: Mon, 5 Sep 2022 14:05:50 +0200 Subject: Rename `range_lerp` to `remap` --- modules/mono/glue/GodotSharp/GodotSharp/Core/Mathf.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mono/glue') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Mathf.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Mathf.cs index b30012d214..f2667c6807 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Mathf.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Mathf.cs @@ -634,7 +634,7 @@ namespace Godot /// The start value for the output interpolation. /// The destination value for the output interpolation. /// The resulting mapped value mapped. - public static real_t RangeLerp(real_t value, real_t inFrom, real_t inTo, real_t outFrom, real_t outTo) + public static real_t Remap(real_t value, real_t inFrom, real_t inTo, real_t outFrom, real_t outTo) { return Lerp(outFrom, outTo, InverseLerp(inFrom, inTo, value)); } -- cgit v1.2.3