mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Remove MathHelper.TwoPi (#46330)
Getting removed in Angle PR as the dotnet constants are better to use.
This commit is contained in:
parent
5612c530d4
commit
e22cf425cf
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ namespace Content.Server.Solar.EntitySystems
|
|||
private void RandomizeSun()
|
||||
{
|
||||
// Initialize the sun to something random
|
||||
TowardsSun = MathHelper.TwoPi * _robustRandom.NextDouble();
|
||||
TowardsSun = Math.Tau * _robustRandom.NextDouble();
|
||||
SunAngularVelocity = Angle.FromDegrees(0.1 + ((_robustRandom.NextDouble() - 0.5) * 0.05));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue