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

◆ Turn01ToCyclic010()

static float Terraria.Utils.Turn01ToCyclic010 ( float value)
inlinestatic

Definition at line 170 of file Utils.cs.

171 {
172 return 1f - ((float)Math.Cos(value * ((float)Math.PI * 2f)) * 0.5f + 0.5f);
173 }

Referenced by Terraria.Projectile.GetFairyQueenWeaponsColor(), and Terraria.Projectile.GetLastPrismHue().

+ Here is the caller graph for this function: