1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Reference constant through base class

This commit is contained in:
Bartłomiej Dach 2020-11-11 22:37:15 +01:00
parent 8341d3ad74
commit 423f0fbda7

View File

@ -70,7 +70,7 @@ namespace osu.Game.Tests.Visual.Ranking
for (int i = 0; i < 500; i++)
{
float angle = (float)random.NextDouble() * 2 * (float)Math.PI;
float radius = (float)random.NextDouble() * 0.5f * HitCircle.OBJECT_RADIUS;
float radius = (float)random.NextDouble() * 0.5f * OsuHitObject.OBJECT_RADIUS;
Vector2 position = new Vector2(radius * (float)Math.Cos(angle), radius * (float)Math.Sin(angle));