mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Rename const in all of the code
This commit is contained in:
parent
1978a4e8a6
commit
c619de7f9b
@ -56,7 +56,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The minimum amplitude to show a bar.
|
/// The minimum amplitude to show a bar.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private const float amplitude_dead_zone = 1f / (bar_length);
|
private const float amplitude_dead_zone = 1f / bar_length;
|
||||||
|
|
||||||
private int indexOffset;
|
private int indexOffset;
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < bars_per_visualiser; i++)
|
for (int i = 0; i < bars_per_visualiser; i++)
|
||||||
{
|
{
|
||||||
if (AudioData[i] < bar_dead_zone)
|
if (AudioData[i] < amplitude_dead_zone)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
float rotation = MathHelper.DegreesToRadians(i / (float)bars_per_visualiser * 360 + j * 360 / visualiser_rounds);
|
float rotation = MathHelper.DegreesToRadians(i / (float)bars_per_visualiser * 360 + j * 360 / visualiser_rounds);
|
||||||
|
Loading…
Reference in New Issue
Block a user