mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
CI Fixes
This commit is contained in:
@ -162,9 +162,11 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
if (AudioData != null)
|
if (AudioData != null)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < bars_per_visualizer * visualizers; i++)
|
for (int j = 0; j < visualizers; j++)
|
||||||
{
|
{
|
||||||
float rotation = MathHelper.DegreesToRadians(i / (float)bars_per_visualizer * 360 + (i / bars_per_visualizer) * (360 / visualizers));
|
for (int i = 0; i < bars_per_visualizer; i++)
|
||||||
|
{
|
||||||
|
float rotation = MathHelper.DegreesToRadians(i / (float)bars_per_visualizer * 360 + j * 360 / visualizers);
|
||||||
float rotationCos = (float)Math.Cos(rotation);
|
float rotationCos = (float)Math.Cos(rotation);
|
||||||
float rotationSin = (float)Math.Sin(rotation);
|
float rotationSin = (float)Math.Sin(rotation);
|
||||||
//taking the cos and sin to the 0..1 range
|
//taking the cos and sin to the 0..1 range
|
||||||
@ -192,6 +194,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
Vector2.Divide(inflation, barSize.Yx));
|
Vector2.Divide(inflation, barSize.Yx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Shader.Unbind();
|
Shader.Unbind();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user