Use static local functions.

This commit is contained in:
Huo Yaoyuan
2019-11-12 18:37:20 +08:00
parent dcfa98414f
commit 144812669d
14 changed files with 22 additions and 18 deletions

View File

@ -98,7 +98,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
const float small_pulp = large_pulp_3 / 2;
Vector2 positionAt(float angle, float distance) => new Vector2(
static Vector2 positionAt(float angle, float distance) => new Vector2(
distance * (float)Math.Sin(angle * Math.PI / 180),
distance * (float)Math.Cos(angle * Math.PI / 180));