TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
◆
NextVector2Unit()
static Vector2 Terraria.Utils.NextVector2Unit
(
this
UnifiedRandom
r
,
float
startRotation
=
0f
,
float
rotationRange
=
(float)Math::PI * 2
f
)
inline
static
Definition at line
1017
of file
Utils.cs
.
1018
{
1019
//IL_000a: Unknown result type (might be due to invalid IL or missing references)
1020
return
(
startRotation
+
rotationRange
*
r
.NextFloat()).ToRotationVector2();
1021
}
List
Terraria
Utils
Generated by
1.10.0