TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ Lerp()

static double Terraria.Utils.Lerp ( double value1,
double value2,
double amount )
inlinestatic

Definition at line 70 of file Utils.cs.

71 {
72 return value1 + (value2 - value1) * amount;
73 }

Referenced by Terraria.ModLoader.Config.UI.RangeElement.RangeElement(), Terraria.GameContent.Generation.ShapeRoot.DoRoot(), Terraria.GameContent.Biomes.MarbleBiome.Place(), Terraria.WorldGen.SonOfLakinater(), and Terraria.WorldGen.UpdateWorld_Inner().

+ Here is the caller graph for this function: