diff options
author | Micky <micheledevita2@gmail.com> | 2022-09-05 14:05:50 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-09-06 07:19:20 +0200 |
commit | b6daad8d4b4f828848e8ed778778e11ff92894dd (patch) | |
tree | f19ef0292c7c7071f859942bd9b9c7a02a17e468 /modules/mono/glue | |
parent | 6c818da55ef1f45eaed06e1413220af1d23a9c41 (diff) |
Rename `range_lerp` to `remap`
Diffstat (limited to 'modules/mono/glue')
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/Mathf.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 /// <param name="outFrom">The start value for the output interpolation.</param> /// <param name="outTo">The destination value for the output interpolation.</param> /// <returns>The resulting mapped value mapped.</returns> - 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)); } |