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

◆ GetForestToForestBackgroundLerperValue()

float Terraria.Main.GetForestToForestBackgroundLerperValue ( )
inlineprivate

Definition at line 56750 of file Main.cs.

56751 {
56752 return (GlobalTimeWrappedHourly * ((float)Math.PI / 2f)).ToRotationVector2().X * 0.5f + 0.5f;
56753 }
const double PI
Definition Math.cs:16
static float GlobalTimeWrappedHourly
Definition Main.cs:405

References Terraria.Main.GlobalTimeWrappedHourly, and System.Math.PI.