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

◆ NextVector2Square()

static Vector2 Terraria.Utils.NextVector2Square ( this UnifiedRandom r,
float min,
float max )
inlinestatic

Definition at line 1001 of file Utils.cs.

1002 {
1003 //IL_001a: Unknown result type (might be due to invalid IL or missing references)
1004 return new Vector2((max - min) * (float)r.NextDouble() + min, (max - min) * (float)r.NextDouble() + min);
1005 }